This commit is contained in:
parent
2425f50612
commit
3f51209ce6
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/build-image.yaml
Normal file
25
.forgejo/workflows/build-image.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
oci-builder:
|
||||||
|
name: 'Build oci-builder'
|
||||||
|
runs-on: 'oci-builder'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: 'actions/checkout@v4'
|
||||||
|
|
||||||
|
- name: 'Build image'
|
||||||
|
uses: 'redhat-actions/buildah-build@v2'
|
||||||
|
with:
|
||||||
|
image: 'registry.uncontrol.me/ver4a/oci-builder'
|
||||||
|
containerfiles: 'Dockerfile'
|
||||||
|
oci: true
|
||||||
|
extra-args: |
|
||||||
|
userns=container
|
||||||
|
security-opt=no-new-privileges
|
||||||
|
annotation=quay.expires-after=
|
||||||
|
build-args: |
|
||||||
|
REGISTRY_DOMAIN=${{ vars.REGISTRY_DOMAIN }}
|
||||||
|
NAMESPACE=${{ vars.NAMESPACE }}
|
Loading…
Add table
Add a link
Reference in a new issue