bingo/.gitea/workflows/build.yaml
Seraphim R. Pardee 1a922a034d
Some checks failed
build / build (push) Successful in 24m23s
release / docker-release-tag (push) Successful in 23m57s
release / go-release-tag (push) Failing after 19m26s
test / test (push) Successful in 3m10s
release / docker-release-latest (push) Successful in 27m27s
Only build amd64 containers.
2024-09-20 23:57:34 -04:00

29 lines
774 B
YAML

name: build
run-name: ${{ gitea.actor }} is building.
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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
push: true
tags: |
git.hl.srp.life/${{ gitea.repository }}:dev