test secrets

This commit is contained in:
Nicolas CARON 2024-03-22 14:02:39 +01:00
parent d950e799e1
commit 2c79e9eca6
1 changed files with 6 additions and 3 deletions

View File

@ -25,15 +25,18 @@ jobs:
with: with:
build_file: Dockerfile build_file: Dockerfile
registry: git.coopgo.io registry: git.coopgo.io
username: ${{gitea.actor}} username: $USER
password: ${{gitea.token}} password: $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=${{ gitea.actor }} ACCESS_TOKEN_USR=${{ gitea.actor }}
ACCESS_TOKEN_PWD=${{ secrets.GITEA_TOKEN }} ACCESS_TOKEN_PWD=${{ gitea.token}}
env:
USER: ${{gitea.actor}}
PASSWORD: ${{gitea.token}}