migrate ci to direct kaniko push
All checks were successful
Build Container / Build Container (push) Successful in 44s

This commit is contained in:
lilly 2026-05-14 20:15:21 +02:00
commit 81f5972c79
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g

View file

@ -18,15 +18,17 @@ jobs:
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Build Container - name: Build Container
# env: env:
# KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }} KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }}
KANIKO_GIT_HAMBURG_CCC_DE_USER: forgejo-actions
KANIKO_GIT_HAMBURG_CCC_DE_PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
run: /kaniko/executor run: /kaniko/executor
--dockerfile="${{forgejo.workspace }}/Containerfile" --dockerfile="${{forgejo.workspace }}/Containerfile"
--context="dir://${{ forgejo.workspace }}" --context="dir://${{ forgejo.workspace }}"
--destination=git.hamburg.ccc.de/ccchh/dooris:latest --destination=git.hamburg.ccc.de/ccchh/dooris:latest
--tar-path=${{ forgejo.workspace }}/image.tar --tar-path=${{ forgejo.workspace }}/image.tar
--no-push
--no-push-cache --no-push-cache
--credential-helpers=env
--annotation=org.opencontainers.image.ref.name=dooris --annotation=org.opencontainers.image.ref.name=dooris
--annotation=org.opencontainers.image.url=${{ forgejo.server_url }}/${{ forgejo.repository }} --annotation=org.opencontainers.image.url=${{ forgejo.server_url }}/${{ forgejo.repository }}
--annotation=org.opencontainers.image.source=${{ forgejo.server_url }}/${{ forgejo.repository }} --annotation=org.opencontainers.image.source=${{ forgejo.server_url }}/${{ forgejo.repository }}