From 5d78a8897584009f48c1e38fb7d4df191c9c1f79 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Fri, 22 Mar 2024 14:40:06 +0100 Subject: [PATCH] test secrets --- .github/workflows/build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f194432..0021781 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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