diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c953e2..5d8880b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,15 +25,18 @@ jobs: with: build_file: Dockerfile registry: git.coopgo.io - username: ${{gitea.actor}} - password: ${{gitea.token}} + username: $USER + password: $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=${{ gitea.actor }} - ACCESS_TOKEN_PWD=${{ secrets.GITEA_TOKEN }} + ACCESS_TOKEN_PWD=${{ gitea.token}} + env: + USER: ${{gitea.actor}} + PASSWORD: ${{gitea.token}}