Try repository token
Build and Push Docker Image / checkout_repository (push) Successful in 1m30s
Details
Build and Push Docker Image / checkout_repository (push) Successful in 1m30s
Details
This commit is contained in:
parent
8891517866
commit
170b599f54
|
@ -19,7 +19,7 @@ jobs:
|
|||
echo "GITEA_Actor: ${{gitea.actor}}"
|
||||
echo "GITEA_Repository: ${{gitea.repository}}"
|
||||
echo "GITEA_REF_NAME: ${{gitea.ref_name}}"
|
||||
echo "REGISTRY_TOKEN: ${{secrets.registry_token}}"
|
||||
echo "REGISTRY_USER: ${{secrets.registry_user}}"
|
||||
|
||||
# KANIKO
|
||||
- name: Kaniko build and push
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
with:
|
||||
build_file: Dockerfile
|
||||
registry: git.coopgo.io
|
||||
username: ${{gitea.actor}}
|
||||
username: ${{secrets.registry_user}}
|
||||
password: ${{secrets.registry_token}}
|
||||
image: ${{gitea.repository}}
|
||||
tag: ${{gitea.ref_name}}
|
||||
|
|
Loading…
Reference in New Issue