Try repository token
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
Some checks failed
Build and Push Docker Image / checkout_repository (push) Failing after 5s
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -14,6 +14,13 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Test Gitea
|
||||||
|
run: |
|
||||||
|
echo "GITEA_Actor: ${{gitea.actor}}"
|
||||||
|
echo "GITEA_Repository: ${{gitea.repository}}"
|
||||||
|
echo "GITEA_REF_NAME: ${{gitea.ref_name}}"
|
||||||
|
echo "REGISTRY_TOKEN: ${{secrets.registry_token}}"
|
||||||
|
|
||||||
# KANIKO
|
# KANIKO
|
||||||
- name: Kaniko build and push
|
- name: Kaniko build and push
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@master
|
||||||
@@ -29,3 +36,4 @@ jobs:
|
|||||||
extra-args: |
|
extra-args: |
|
||||||
ACCESS_TOKEN_USR=${{gitea.actor}}
|
ACCESS_TOKEN_USR=${{gitea.actor}}
|
||||||
ACCESS_TOKEN_PWD=${{gitea.token}}
|
ACCESS_TOKEN_PWD=${{gitea.token}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user