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

This commit is contained in:
Nicolas CARON 2024-03-22 10:30:09 +01:00
parent 932e5ad90f
commit dfd1c964d7
1 changed files with 6 additions and 6 deletions

View File

@ -16,8 +16,8 @@ jobs:
- name: Debug secrets
run: |
echo "DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}"
echo "DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}"
echo "DOCKER_USERNAME: ${{ secrets.GIT_USERNAME }}"
echo "DOCKER_PASSWORD: ${{ secrets.GIT_PWD }}"
# KANIKO
- name: Kaniko build and push
@ -25,15 +25,15 @@ jobs:
with:
build_file: Dockerfile
registry: git.coopgo.io
username: "${{secrets.DOCKER_USERNAME}}"
password: "${{secrets.DOCKER_PASSWORD}}"
username: "${{secrets.GIT_USERNAME}}"
password: "${{secrets.GIT_PWD}}"
image: coopgo-platform/mobility-accounts
tag: test
cache: true
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
extra-args: |
ACCESS_TOKEN_USR="${{secrets.DOCKER_USERNAME}}"
ACCESS_TOKEN_PWD="${{secrets.DOCKER_PASSWORD}}"
ACCESS_TOKEN_USR="${{secrets.GIT_USERNAME}}"
ACCESS_TOKEN_PWD="${{secrets.GIT_PWD}}"