Some checks failed
Publish Builder Images / build-and-push (push) Failing after 1m32s
33 lines
829 B
YAML
33 lines
829 B
YAML
name: Publish Builder Images
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'Dockerfile.base'
|
|
- 'Dockerfile.windows'
|
|
- 'build.sh'
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Make script executable
|
|
run: chmod +x build.sh
|
|
|
|
# Optional: Restore DNF Cache (if you are using the cache strategy)
|
|
|
|
- name: Run Build Script
|
|
uses: docker://quay.io/buildah/stable
|
|
env:
|
|
# Standard Gitea env vars
|
|
USERNAME: ${{ gitea.repository_owner }}
|
|
PASSWORD: ${{ secrets.USER_PACKAGE_PASSWORD }}
|
|
REGISTRY: gitea.212.63.210.91.nip.io
|
|
|
|
# We use the short SHA for the tag
|
|
TAG: ${{ gitea.sha }}
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: ./build.sh |