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:43:12 +01:00
parent b6cec61b31
commit 0c34321400
1 changed files with 7 additions and 2 deletions

View File

@ -14,14 +14,19 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set username and password env
run:
echo "ACCESS_TOKEN_USR=${{gitea.actor}}"
echo "ACCESS_TOKEN_PWD=${{secret.GITEA_TOKEN}}"
# KANIKO
- name: Kaniko build and push
uses: aevea/action-kaniko@master
with:
build_file: Dockerfile
registry: git.coopgo.io
username: ncaron
password: ${{ secrets.GITEA_TOKEN }}
username: ACCESS_TOKEN_USR
password: ACCESS_TOKEN_PWD
image: coopgo-platform/mobility-accounts
tag: test
cache: true