try gitea actions for dart server
Some checks failed
Build and Push Multi-Arch Docker Image / build-and-push (push) Failing after 1m35s

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-11-21 19:38:32 +01:00
parent 4ce471599b
commit 7bf33c0e06
5 changed files with 58 additions and 6 deletions

View File

@@ -0,0 +1,28 @@
name: Build and Push Multi-Arch Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Gitea Registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login ${{ secrets.DOMAIN }} -u ${{ secrets.REGISTRY_USER }} --password-stdin
- name: Build and Push Multi-Arch Image
working-directory: ./server/cinema
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--network=host \
-t ${{ secrets.DOMAIN }}/${{ secrets.OWNER }}/${{ secrets.REPO }}/server:latest \
--push .