Skip to content

Commit

Permalink
build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
porjo committed Mar 1, 2024
1 parent 0c784d9 commit 565cf57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
- name: Login to Github Packages
uses: docker/login-action@v2
Expand All @@ -44,7 +47,8 @@ jobs:
context: .
platforms: linux/amd64
# Note: tags has to be all lower-case
tags: ${{ steps.meta.outputs.tags }}
#tags: ${{ steps.meta.outputs.tags }}
tags: ghcr.io/porjo/ytdl-web:master
labels: ${{ steps.meta.outputs.labels }}
push: true

Expand Down

0 comments on commit 565cf57

Please sign in to comment.