Skip to content

Commit

Permalink
build package tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
porjo committed Mar 13, 2024
1 parent 4df5a1e commit 7aa11ca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and Publish

on:
push:
tags:
- "*"
branches:
- master

env:
REGISTRY: ghcr.io
Expand All @@ -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 Down

0 comments on commit 7aa11ca

Please sign in to comment.