From d83d9e3de82777ef593c5ab8b7f8d3b84734abd4 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 29 Jan 2025 08:08:34 +0100 Subject: [PATCH] feat(ci): add build docker image gh action --- .github/workflows/release-docker.yml | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release-docker.yml diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml new file mode 100644 index 000000000..aa9ad8d17 --- /dev/null +++ b/.github/workflows/release-docker.yml @@ -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 \ No newline at end of file