chore: CI/CD configuration
Some checks failed
Build & Push (Multi-Arch) / docker (push) Failing after 57s
Some checks failed
Build & Push (Multi-Arch) / docker (push) Failing after 57s
This commit is contained in:
parent
259077790b
commit
4cf72240d1
1 changed files with 35 additions and 0 deletions
35
.forgejo/workflows/docker.yml
Normal file
35
.forgejo/workflows/docker.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
name: Build & Push (Multi-Arch)
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
tags: [ "v*" ]
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: [wsl]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.j-massing.de
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build & Push (manifest)
|
||||
run: |
|
||||
IMAGE="git.j-massing.de/hammerfall/ipv6client"
|
||||
TAG="${GITHUB_REF_NAME:-latest}"
|
||||
docker buildx build \
|
||||
--platform linux/arm64/v8 \
|
||||
-t "$IMAGE:$TAG" \
|
||||
-t "$IMAGE:latest" \
|
||||
--push .
|
||||
Loading…
Add table
Reference in a new issue