diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 3602a09fe..3ad20ad39 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -95,5 +95,5 @@ jobs: - name: Docker tag latest and push if: ${{ github.event_name == 'release' }} run: | - docker tag ${{ env.IMAGE_NAME }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + docker tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest