Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes committed Mar 22, 2022
1 parent f7cd58b commit 736d117
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
packages: write

steps:
-
name: Checkout repository
uses: actions/checkout@v2

-
name: Set tag for non-default branch
if: ${{ env.GITHUB_REF_NAME != 'main' && env.GITHUB_REF_NAME != 'v2_devel' }}
if: ${{ GITHUB_REF_NAME != 'main' && GITHUB_REF_NAME != 'v2_devel' }}
run: |
echo "Branch name is ${{ env.GITHUB_REF_NAME }}"
echo "TAG=${{ env.GITHUB_REF_NAME }}" >> $GITHUB_ENV
-
name: Checkout repository
uses: actions/checkout@v2

# Workaround: https://github.com/docker/build-push-action/issues/461
-
name: Setup Docker buildx
Expand Down

0 comments on commit 736d117

Please sign in to comment.