From 843f8e181bccdcce33c3f07f64264c1a109c2fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be=20-=20Romain=20Gerard?= Date: Mon, 20 Apr 2020 17:12:12 +0200 Subject: [PATCH] Update releases.yml --- .github/workflows/releases.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c7ad9ce..1881d6f 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -28,6 +28,10 @@ jobs: bodyFile: "" token: ${{ secrets.GITHUB_TOKEN }} + - name: Get release version + id: get_version + run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10}) + - name: Publish to Registry uses: HurricanKai/Publish-Docker-Github-Action@master with: @@ -35,4 +39,4 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} dockerfile: docker/Dockerfile - tag_names: true + tags: "latest,${{ env.RELEASE_VERSION }}"