test secrets
Build and Push Docker Image / checkout_repository (push) Successful in 1m21s Details

This commit is contained in:
Nicolas CARON 2024-03-22 15:04:43 +01:00
parent 9fe3d6b6bc
commit c6c7cd72e4
1 changed files with 16 additions and 18 deletions

View File

@ -19,26 +19,24 @@ jobs:
echo "GITEA_Actor: ${{gitea.actor}}" echo "GITEA_Actor: ${{gitea.actor}}"
echo "GITEA_Repository: ${{gitea.repository}}" echo "GITEA_Repository: ${{gitea.repository}}"
echo "GITEA_REF_NAME: ${{gitea.ref_name}}" echo "GITEA_REF_NAME: ${{gitea.ref_name}}"
echo "GITEA_Action: ${{gitea.action}}"
echo "GITEA_Action_ref: ${{gitea.action_ref}}"
# KANIKO # KANIKO
# - name: Kaniko build and push - name: Kaniko build and push
# uses: aevea/action-kaniko@master uses: aevea/action-kaniko@master
# with: with:
# build_file: Dockerfile build_file: Dockerfile
# registry: git.coopgo.io registry: git.coopgo.io
# username: ${{gitea.actor}} username: ${{gitea.actor}}
# password: ${{env.PASSWORD}} password: ${{env.PASSWORD}}
# image: ${{gitea.repository}} image: ${{gitea.repository}}
# tag: test tag: ${{gitea.ref_name}}
# cache: true cache: true
# cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache cache_registry: git.coopgo.io/${{gitea.repository}}/cache
# extra-args: | extra-args: |
# ACCESS_TOKEN_USR=${{gitea.actor}} ACCESS_TOKEN_USR=${{gitea.actor}}
# ACCESS_TOKEN_PWD=${{env.PASSWORD}} ACCESS_TOKEN_PWD=${{env.PASSWORD}}
# env: env:
# PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d