Files
birdspotter/.gitea/workflows/gitea-bp.yaml
makew 83a89eacbc
Some checks failed
Build and Push Image / build (push) Failing after 1m28s
ongelma2
2026-03-22 09:15:28 +02:00

36 lines
979 B
YAML

name: Build and Push Image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=act-runner
qemu.install=true
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: http://gitea-http.gitea:3000 # Replace with your Gitea instance URL
username: make
password: ${{ secrets.TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
http://gitea-http.gitea:3000/make/your-repo:latest
http://gitea-http.gitea:3000/make/your-repo:${{ github.sha }}