feat(628): publish Docker image to GitHub Container Registry (#633)

This commit is contained in:
Daniel Graf
2026-01-05 08:54:17 +01:00
committed by GitHub
parent 7b48f621b5
commit b545c06846

View File

@@ -6,8 +6,11 @@ on:
branches:
- main
permissions:
packages: write
jobs:
tagged-release:
build-and-publish-develop:
name: "Release"
runs-on: "ubuntu-latest"
@@ -32,6 +35,12 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
@@ -42,6 +51,7 @@ jobs:
with:
images: |
dedicatedcode/reitti
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=develop,enable={{is_default_branch}}
- name: Build and push