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:
parent
cb1a022cdc
commit
4ec847d549
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user