enabling arm building on gitea

This commit is contained in:
Andy Pack 2025-03-15 22:06:34 +00:00
parent c24f63abfe
commit f62d21101f
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

@ -61,36 +61,36 @@ jobs:
provenance: false
context: .
# build-Docker-Arm:
build-Docker-Arm:
# runs-on: ubuntu-latest-arm
# name: Build Container (arm64)
# needs: [build] # for ignoring bad builds
# if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
runs-on: ubuntu-latest-arm
name: Build Container (arm64)
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@v4
# with:
# github-server-url: https://gitea.sheep-ghoul.ts.net
steps:
- uses: actions/checkout@v4
with:
github-server-url: https://gitea.sheep-ghoul.ts.net
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# registry: gitea.sheep-ghoul.ts.net
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: gitea.sheep-ghoul.ts.net
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build Web Container
# uses: docker/build-push-action@v5
# with:
# push: true
# tags: gitea.sheep-ghoul.ts.net/sarsoo/overflow:latest-arm64
# file: Dockerfile
# provenance: false
# context: .
- name: Build Web Container
uses: docker/build-push-action@v5
with:
push: true
tags: gitea.sheep-ghoul.ts.net/sarsoo/overflow:latest-arm64
file: Dockerfile
provenance: false
context: .
packageManifest:
runs-on: ubuntu-latest