diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 1fdeeeaf..d820b129 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -34,7 +34,7 @@ jobs: flavor: | latest=auto tags: | - type=edge,branch=next + type=edge,branch=cd_ghcr-setup type=semver,pattern={{version}} type=sha @@ -51,7 +51,7 @@ jobs: - name: Push Release uses: docker/build-push-action@v5 with: - push: ${{ startsWith(github.ref, 'refs/tags/') }} + push: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == format('refs/heads/{0}', 'cd_ghcr-setup') }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} target: vckit-api