fixing arm images

This commit is contained in:
Andy Pack 2025-03-15 15:03:08 +00:00
parent ed9fc3a8a0
commit ee3832b8ed
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7
2 changed files with 12 additions and 4 deletions
.gitea/workflows
.github/workflows

@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
dotnet-version: [ '9.0.x' ]
arch: ['ubuntu-latest', 'ubuntu-latest-arm']
arch: ['ubuntu-latest']
steps:
- uses: actions/checkout@v4
@ -36,7 +36,7 @@ jobs:
name: Build Containers
strategy:
matrix:
arch: ['ubuntu-latest', 'ubuntu-latest-arm']
arch: ['ubuntu-latest']
needs: [build] # for ignoring bad builds
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
@ -45,6 +45,9 @@ jobs:
with:
github-server-url: https://gitea.sheep-ghoul.ts.net
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
@ -59,6 +62,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
tags: gitea.sheep-ghoul.ts.net/sarsoo/overflow:latest
file: Dockerfile
context: .

@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
dotnet-version: [ '9.0.x' ]
arch: ['ubuntu-latest', 'ubuntu-24.04-arm']
arch: ['ubuntu-latest']
steps:
- uses: actions/checkout@v2
@ -33,13 +33,16 @@ jobs:
name: Build Containers
strategy:
matrix:
arch: ['ubuntu-latest', 'ubuntu-24.04-arm']
arch: ['ubuntu-latest']
needs: [build] # for ignoring bad builds
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
@ -53,6 +56,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
sarsoo/overflow:latest
sarsoo/overflow:${{ github.ref_name }}