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 - name: Checkout Repository
uses: actions/checkout@v4 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 # 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: ACCESS_TOKEN_USR
password: ${{ secrets.GITEA_TOKEN }} password: ACCESS_TOKEN_PWD
image: coopgo-platform/mobility-accounts image: coopgo-platform/mobility-accounts
tag: test tag: test
cache: true cache: true