migrate ci to direct kaniko push
Some checks failed
Build Container / Build Container (push) Failing after 5s
Some checks failed
Build Container / Build Container (push) Failing after 5s
This commit is contained in:
parent
18b1d4f4cd
commit
3810e1d1cf
1 changed files with 4 additions and 3 deletions
|
|
@ -18,14 +18,15 @@ 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
|
||||||
--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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue