1
0
mirror of https://github.com/kochetkov-ma/allure-server.git synced 2024-11-24 08:22:37 +02:00

fix release.yml script

This commit is contained in:
kochetkov-ma 2020-06-01 19:40:13 +03:00
parent cb1a022cdc
commit 4ec847d549
2 changed files with 5 additions and 2 deletions

View File

@ -61,8 +61,11 @@ jobs:
asset_content_type: application/jar
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
env:
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
with:
name: kochetkovma/allure-server
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ env.RELEASE_VERSION }}"
tags: "latest,${{ env.RELEASE_VERSION }}"
buildargs: RELEASE_VERSION

View File

@ -1,6 +1,6 @@
FROM gradle:jdk11 as build
COPY . .
ENV RELEASE_VERSION=${RELEASE_VERSION:-0.0.0}
ARG RELEASE_VERSION=${RELEASE_VERSION:-0.0.0}
RUN gradle -Pversion=docker --no-daemon -PnodeVersion=12.16.3 vaadinPrepareNode bootJar
FROM openjdk:11-jre-slim as production