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
|
||||
|
||||
- name: Build Container
|
||||
# env:
|
||||
# KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }}
|
||||
env:
|
||||
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
|
||||
--dockerfile="${{forgejo.workspace }}/Containerfile"
|
||||
--context="dir://${{ forgejo.workspace }}"
|
||||
--destination=git.hamburg.ccc.de/ccchh/dooris:latest
|
||||
--tar-path=${{ forgejo.workspace }}/image.tar
|
||||
--no-push
|
||||
--no-push-cache
|
||||
--annotation=org.opencontainers.image.ref.name=dooris
|
||||
--annotation=org.opencontainers.image.url=${{ forgejo.server_url }}/${{ forgejo.repository }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue