bingo/.gitea/workflows/build.yaml
Seraphim R. Pardee dfd1838850
Some checks failed
build / build (push) Failing after 16s
test / test (push) Successful in 36s
Missed a spot.
2024-09-20 13:41:30 -04:00

35 lines
984 B
YAML

name: build
run-name: ${{ gitea.actor }} is building.
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: login to container registry
uses: docker/login-action@v3
with:
registry: 10.0.0.103:3000
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: docker buildx setup
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry."10.0.0.103:3000"]
http = true
insecure = true
- 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: |
10.0.0.103:3000/${{ gitea.repository_owner }}/${{ gitea.repository }}:dev