feat: publish main and dev branches as separate GHCR packages

This commit is contained in:
Linus Rath
2026-04-10 14:33:18 +02:00
parent 89d580b90d
commit facef97fcc
+3 -3
View File
@@ -22,7 +22,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
IMAGE_NAME: ghcr.io/${{ github.repository }} IMAGE_NAME: ghcr.io/${{ github.repository }}-${{ github.ref_name }}
jobs: jobs:
build: build:
@@ -115,8 +115,8 @@ jobs:
with: with:
images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
tags: | tags: |
type=raw,value={{branch}} type=raw,value=latest
type=sha,prefix={{branch}}- type=sha
- name: Create manifest list and push - name: Create manifest list and push
working-directory: /tmp/digests working-directory: /tmp/digests