ongelma2
Some checks failed
Build and Push Image / build (push) Failing after 1m28s

This commit is contained in:
2026-03-22 09:15:28 +02:00
parent 9a475e1703
commit 83a89eacbc

View File

@@ -1,26 +1,36 @@
name: Build and Push Docker Image
on:
push:
branches: [ main ]
name: Build and Push Image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
- name: Checkout
uses: actions/checkout@v4
- name: Login to gitea
run: NODE_NO_WARNINGS=1 docker login -u make -p ${{ secrets.TOKEN }} http://gitea-http.gitea.svc.cluster.local:3000
- name: Set up Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=act-runner
qemu.install=true
- name: Build and push image
uses: docker/build-push-action@v6
- 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
tags: make/birdspotter:latest
platforms: linux/amd64,linux/arm64
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 }}