bingo/.gitea/workflows/build.yaml
Seraphim R. Pardee af4d473ac0
Some checks failed
release / docker-release-latest (push) Failing after 1s
test / test (push) Successful in 3m33s
release / go-release-tag (push) Failing after 15m11s
build / build (push) Has been cancelled
release / docker-release-tag (push) Has been cancelled
Try out a release flow and add cross-compiling builds.
2024-09-20 23:19:31 -04:00

32 lines
872 B
YAML

name: build
run-name: ${{ gitea.actor }} is building.
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: docker qemu setup
uses: docker/setup-qemu-action@v3
- name: docker buildx setup
uses: docker/setup-buildx-action@v3
- name: login to container registry
uses: docker/login-action@v3
with:
registry: git.hl.srp.life
username: ${{ gitea.repository_owner }}
password: ${{ secrets.ACTIONS_KEY }}
- name: checkout code
uses: actions/checkout@v4
- name: build and push to registry
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm64
push: true
tags: |
git.hl.srp.life/${{ gitea.repository }}:dev