Try repository token
Build and Push Docker Image / checkout_repository (push) Successful in 1m30s Details

This commit is contained in:
Arnaud Delcasse 2024-03-24 20:14:28 +01:00
parent 8891517866
commit 170b599f54
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ 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 "REGISTRY_TOKEN: ${{secrets.registry_token}}" echo "REGISTRY_USER: ${{secrets.registry_user}}"
# KANIKO # KANIKO
- name: Kaniko build and push - name: Kaniko build and push
@ -27,7 +27,7 @@ jobs:
with: with:
build_file: Dockerfile build_file: Dockerfile
registry: git.coopgo.io registry: git.coopgo.io
username: ${{gitea.actor}} username: ${{secrets.registry_user}}
password: ${{secrets.registry_token}} password: ${{secrets.registry_token}}
image: ${{gitea.repository}} image: ${{gitea.repository}}
tag: ${{gitea.ref_name}} tag: ${{gitea.ref_name}}