buildkit
Some checks failed
Build and Push Image / build-and-push (push) Failing after 17s

This commit is contained in:
2026-03-23 09:43:42 +02:00
parent 6e8b808d75
commit 2eff359a6a

View File

@@ -1,20 +1,33 @@
name: Build and Push Image name: Build and Push Image
run-name: ${{ gitea.actor }} made changes so running Gitea actions 🚀
on: [push] on: [push]
jobs: jobs:
build: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps: steps:
- name: Login to GitHub Container Registry - name: Checkout code
run: docker login -u make -p ${{ secrets.TOKEN }} gitea.paddington.fi uses: actions/checkout@v3
- uses: actions/checkout@master
- name: Build and push Docker image
uses: https://code.thetadev.de/actions/kaniko@v1 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with: with:
registry: http://gitea-http.gitea:3000 driver-opts: image=moby/buildkit:latest
image: make/myapp install: true
username: make network: host
password: ${{ secrets.TOKEN }} buildkitd-config-inline: |
cache: true [registry."gitea-http.gitea:3000"]
http = true
insecure = true
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: gitea-http.gitea:3000/make/birdspotter:latest
allow:
security.insecure