From aff1754a947aaad4de0e5406f296643a844fdef7 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Wed, 9 Jun 2021 18:30:54 +0300 Subject: [PATCH] ci: update latest tag on release as well --- .github/workflows/docker-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml index a5572dd..c4f61b4 100644 --- a/.github/workflows/docker-ci.yml +++ b/.github/workflows/docker-ci.yml @@ -32,8 +32,8 @@ jobs: id: imgtag with: cond: ${{ github.event_name == 'release' }} - if_true: ${{ env.RELEASE_VERSION }} - if_false: latest + if_true: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:${{ env.RELEASE_VERSION }},${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest + if_false: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -54,5 +54,5 @@ jobs: context: . platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7 push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:${{ steps.imgtag.outputs.value }} + tags: ${{ steps.imgtag.outputs.value }} build-args: 'GIT_DESC=${{steps.tagger.outputs.tag}}'