Files
birdspotter/.gitea/workflows/gitea-bp.yaml
makew 4467e1b7d7
Some checks failed
Build and Push Image / build (push) Failing after 10s
ongelma
2026-03-22 09:19:32 +02:00

29 lines
769 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: 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 }}