diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0d5e1a..817fce1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,11 +13,6 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 - - - name: Debug secrets - run: | - echo "DOCKER_USERNAME: ${{ gitea.actor }}" - echo "DOCKER_PASSWORD: ${{ secrets.GITEA_TOKEN }}" # KANIKO - name: Kaniko build and push @@ -25,15 +20,15 @@ jobs: with: build_file: Dockerfile registry: git.coopgo.io - username: ncaron - password: 6744954b4a3a43422e62e8d110f90de527ce094d + username: ${{ gitea.actor }} + password: ${{ secrets.GITEA_TOKEN }} image: coopgo-platform/mobility-accounts tag: test cache: true cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache extra-args: | - ACCESS_TOKEN_USR=ncaron - ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d + ACCESS_TOKEN_USR=${{ gitea.actor }} + ACCESS_TOKEN_PWD=${{ secrets.GITEA_TOKEN }}