Files
godot-builder-image/.gitea/workflows/publish-image.yaml
Olof Pettersson 97eede39f7
All checks were successful
Publish Builder Image / build-and-push (push) Successful in 3m15s
Add bash script instead of inline
2025-12-01 21:11:56 +01:00

26 lines
694 B
YAML

name: Publish Builder Image
on:
push:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and Push
uses: docker://quay.io/buildah/stable
env:
USERNAME: ${{ gitea.actor }}
PASSWORD: ${{ secrets.USER_PACKAGE_PASSWORD }}
REGISTRY: gitea.212.63.210.91.nip.io
# Changed to repository_owner to avoid 'owner/repo/image' nesting
IMAGE: ${{ gitea.repository_owner }}/godot-builder
TAG: ${{ gitea.sha }}
with:
entrypoint: /bin/sh
# We just tell it to run the script we checked out
args: ./build.sh