test secrets
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Details
Build and Push Docker Image / checkout_repository (push) Successful in 5s
Details
This commit is contained in:
parent
8ae62e7aef
commit
4f3b3b12b3
|
@ -18,31 +18,26 @@ jobs:
|
|||
run: |
|
||||
echo "GITEA_Actor: ${{gitea.actor}}"
|
||||
echo "GITEA_Repository: ${{gitea.repository}}"
|
||||
echo "GITEA_Workspace: ${{gitea.workspace}}"
|
||||
echo "GITEA_SHA: ${{gitea.sha}}"
|
||||
echo "GITEA_REF: ${{gitea.ref}}"
|
||||
echo "GITEA_EVENT: ${{gitea.event}}"
|
||||
echo "GITEA_BASE_REF: ${{gitea.base_ref}}"
|
||||
echo "GITEA_Branches: ${{gitea.branches}}"
|
||||
|
||||
echo "GITEA_REF_NAME: ${{gitea.ref_name}}"
|
||||
|
||||
# KANIKO
|
||||
- name: Kaniko build and push
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
build_file: Dockerfile
|
||||
registry: git.coopgo.io
|
||||
username: ${{gitea.actor}}
|
||||
password: ${{env.PASSWORD}}
|
||||
image: ${{gitea.repository}}
|
||||
tag: test
|
||||
cache: true
|
||||
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
||||
extra-args: |
|
||||
ACCESS_TOKEN_USR=${{gitea.actor}}
|
||||
ACCESS_TOKEN_PWD=${{env.PASSWORD}}
|
||||
env:
|
||||
PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
# - name: Kaniko build and push
|
||||
# uses: aevea/action-kaniko@master
|
||||
# with:
|
||||
# build_file: Dockerfile
|
||||
# registry: git.coopgo.io
|
||||
# username: ${{gitea.actor}}
|
||||
# password: ${{env.PASSWORD}}
|
||||
# image: ${{gitea.repository}}
|
||||
# tag: test
|
||||
# cache: true
|
||||
# cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
||||
# extra-args: |
|
||||
# ACCESS_TOKEN_USR=${{gitea.actor}}
|
||||
# ACCESS_TOKEN_PWD=${{env.PASSWORD}}
|
||||
# env:
|
||||
# PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue