feat(ci): add build docker image gh action

This commit is contained in:
kolaente 2025-01-29 08:08:34 +01:00
parent cced3fce6d
commit d83d9e3de8
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 34 additions and 0 deletions

34
.github/workflows/release-docker.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: release/docker
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Registry
uses: docker/login-action@v3
with:
username: ${{ vars.CONTAINER_REG_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
platforms:
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64/v8
push: true
tags: ghcr.io/go-vikunja/vikunja:unstable