Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hendricius committed Dec 8, 2023
1 parent d296a1a commit 2c25cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
id: determine-tag
run: |
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "::set-output name=tag::latest"
echo "TAG=latest"
else
echo "::set-output name=tag::${{ github.ref_slug }}"
echo "TAG=${{ github.ref_slug }}"
fi
shell: bash

Expand All @@ -46,5 +46,5 @@ jobs:
context: .
push: true
# H4x since Github has no ternary operator
tags: ${{ steps.determine-tag.outputs.tag }}
tags: ${{ env.TAG }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2c25cbd

Please sign in to comment.