Update .forgejo/workflows/container.yaml

Signed-off-by: xengi <forgejo@xengi.de>
This commit is contained in:
XenGi 2026-08-05 15:51:31 +02:00
commit 088afe53a7

View file

@ -11,7 +11,7 @@ enable-email-notifications: true
env:
BUILDKITD_FLAGS: --oci-worker-no-process-sandbox
REGISTRY_URL: coderberg.org
REGISTRY_URL: git.sb20.xengi.de
REGISTRY_IMAGE: ${{ env.REGISTRY_URL }}/${{ env.FORGEJO_REPOSITORY }}/archlinux-aur
REGISTRY_TAG: latest
@ -29,10 +29,10 @@ jobs:
- name: Build container
run: |
export CREATED=$(date -Iseconds)
sed -i "s/%%CREATED%%/$CREATED/" docker/Dockerfile
sed -i "s/%%COMMIT%%/$CI_BUILD_REF_NAME/" docker/Dockerfile
sed -i "s/%%CREATED%%/$CREATED/" Containerfile
sed -i "s/%%COMMIT%%/$CI_BUILD_REF_NAME/" Containerfile
buildctl-daemonless.sh build \
--frontend dockerfile.v0 \
--local context=docker/ \
--local dockerfile=docker/ \
--local context=./ \
--local dockerfile=./Containerfile \
--output type=image,name=${{ env.REGISTRY_IMAGE }}:${{ env.REGISTRY_TAG }},push=true