test secrets
Build and Push Docker Image / checkout_repository (push) Successful in 1m16s Details

This commit is contained in:
Nicolas CARON 2024-03-22 14:40:06 +01:00
parent 7728a7d0a4
commit 5d78a88975
1 changed files with 2 additions and 11 deletions

View File

@ -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