Skip to content

Commit

Permalink
fix: tag is needed when pushing to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Apr 1, 2022
1 parent d249cf0 commit 29db0aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
images: ${{ env.REGISTRY }}${{ startsWith(github.ref, 'refs/tags') && github.repository_owner == 'nervosnetwork' && 'nervos' || github.repository_owner }}/${{ env.IMAGE_NAME }}
# dynamically set date as a suffix
tags: |
type=ref,event=tag
type=ref,event=branch,suffix=-{{date 'YYYYMMDDHHmm'}}
type=ref,event=branch
labels: |
Expand Down

0 comments on commit 29db0aa

Please sign in to comment.