test secrets
Build and Push Docker Image / checkout_repository (push) Successful in 1m16s
Details
Build and Push Docker Image / checkout_repository (push) Successful in 1m16s
Details
This commit is contained in:
parent
7728a7d0a4
commit
5d78a88975
|
@ -14,31 +14,22 @@ jobs:
|
|||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Test Variables
|
||||
run: |
|
||||
echo "USER:${{env.USER}}"
|
||||
echo "PASS:${{env.PASSWORD}}"
|
||||
env:
|
||||
USER: ${{github.actor}}
|
||||
PASSWORD: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
# KANIKO
|
||||
- name: Kaniko build and push
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
build_file: Dockerfile
|
||||
registry: git.coopgo.io
|
||||
username: ${{github.actor}}
|
||||
username: ${{gitea.actor}}
|
||||
password: ${{env.PASSWORD}}
|
||||
image: coopgo-platform/mobility-accounts
|
||||
tag: test
|
||||
cache: true
|
||||
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
||||
extra-args: |
|
||||
ACCESS_TOKEN_USR=${{env.USER}}
|
||||
ACCESS_TOKEN_USR=${{gitea.actor}}
|
||||
ACCESS_TOKEN_PWD=${{env.PASSWORD}}
|
||||
env:
|
||||
USER: ${{github.actor}}
|
||||
PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue