enabling arm building on gitea
This commit is contained in:
parent
c24f63abfe
commit
f62d21101f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user