Try repository token
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m30s
All checks were successful
Build and Push Docker Image / checkout_repository (push) Successful in 1m30s
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user