From 0c34321400757dd3d35275fdd3f2a0ab4ce55f2c Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Fri, 22 Mar 2024 13:43:12 +0100 Subject: [PATCH] test secrets --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c0642b..87ff9da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,14 +14,19 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 + - name: Set username and password env + run: + echo "ACCESS_TOKEN_USR=${{gitea.actor}}" + echo "ACCESS_TOKEN_PWD=${{secret.GITEA_TOKEN}}" + # KANIKO - name: Kaniko build and push uses: aevea/action-kaniko@master with: build_file: Dockerfile registry: git.coopgo.io - username: ncaron - password: ${{ secrets.GITEA_TOKEN }} + username: ACCESS_TOKEN_USR + password: ACCESS_TOKEN_PWD image: coopgo-platform/mobility-accounts tag: test cache: true