Skip to content

Commit

Permalink
[CI] CI build fails in forks #47
Browse files Browse the repository at this point in the history
  • Loading branch information
4TT1L4 committed Nov 7, 2023
1 parent ec406f8 commit 0060ffd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
# latest tag for the default branch:
type=raw,value=latest,enable={{is_default_branch}}
- name: ${{ github.ref == 'refs/heads/main' && 'Build and Push Docker image' || 'Build Docker image' }}
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 0060ffd

Please sign in to comment.