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 638ed55 commit 9dfe6e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
packages: write

steps:
-
name: Set tag for non-default branches
if: ${{ env.TAG }} != ${{ github.event.repository.default_branch }}
run: |
echo "TAG=${{ env.GITHUB_REF_NAME }}" >> $GITHUB_ENV
-
name: Checkout repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 9dfe6e4

Please sign in to comment.