diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1190435..8655ad6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,12 +25,10 @@ jobs: if: ${{ steps.release.outputs.release_created }} run: | docker build \ - -t "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}" \ + -t "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" \ -t "ghcr.io/${GITHUB_REPOSITORY}:latest" . - env: - TAG_NAME: ${{ steps.release.outputs.tag_name }} - name: Release Docker image if: ${{ steps.release.outputs.release_created }} run: | - docker push "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}" + docker push "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" docker push "ghcr.io/${GITHUB_REPOSITORY}:latest"