test secrets
Build and Push Docker Image / checkout_repository (push) Failing after 5s Details

This commit is contained in:
Nicolas CARON 2024-03-22 13:34:06 +01:00
parent c1c89c637c
commit f05ea0af06
1 changed files with 4 additions and 9 deletions

View File

@ -14,26 +14,21 @@ jobs:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Debug secrets
run: |
echo "DOCKER_USERNAME: ${{ gitea.actor }}"
echo "DOCKER_PASSWORD: ${{ secrets.GITEA_TOKEN }}"
# 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: ncaron username: ${{ gitea.actor }}
password: 6744954b4a3a43422e62e8d110f90de527ce094d password: ${{ secrets.GITEA_TOKEN }}
image: coopgo-platform/mobility-accounts image: coopgo-platform/mobility-accounts
tag: test tag: test
cache: true cache: true
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
extra-args: | extra-args: |
ACCESS_TOKEN_USR=ncaron ACCESS_TOKEN_USR=${{ gitea.actor }}
ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d ACCESS_TOKEN_PWD=${{ secrets.GITEA_TOKEN }}