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
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
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
|
# KANIKO
|
||||||
- name: Kaniko build and push
|
- name: Kaniko build and push
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@master
|
||||||
with:
|
with:
|
||||||
build_file: Dockerfile
|
build_file: Dockerfile
|
||||||
registry: git.coopgo.io
|
registry: git.coopgo.io
|
||||||
username: ${{github.actor}}
|
username: ${{gitea.actor}}
|
||||||
password: ${{env.PASSWORD}}
|
password: ${{env.PASSWORD}}
|
||||||
image: coopgo-platform/mobility-accounts
|
image: coopgo-platform/mobility-accounts
|
||||||
tag: test
|
tag: test
|
||||||
cache: true
|
cache: true
|
||||||
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
||||||
extra-args: |
|
extra-args: |
|
||||||
ACCESS_TOKEN_USR=${{env.USER}}
|
ACCESS_TOKEN_USR=${{gitea.actor}}
|
||||||
ACCESS_TOKEN_PWD=${{env.PASSWORD}}
|
ACCESS_TOKEN_PWD=${{env.PASSWORD}}
|
||||||
env:
|
env:
|
||||||
USER: ${{github.actor}}
|
|
||||||
PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d
|
PASSWORD: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue