diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fc916ee..76db3f0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -142,8 +142,8 @@ jobs: uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: galasa-team + password: ${{ secrets.GALASA_TEAM_WRITE_PACKAGES_TOKEN }} - name: Extract metadata for Wrapping image id: metadata diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 243865a..72d32a6 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -85,13 +85,6 @@ jobs: -Dgalasa.release.repo=file:${{ github.workspace }}/repo \ --batch-mode --errors --fail-at-end \ --settings /home/runner/work/gpg/settings.xml - - - name: Login to Github Container Registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: galasa-team - password: ${{ secrets.GALASA_TEAM_WRITE_PACKAGES_TOKEN }} - name: Extract metadata for Wrapping image id: metadata @@ -106,8 +99,7 @@ jobs: with: context: . file: dockerfiles/dockerfile.wrapping - # push: false - push: true + push: false tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} build-args: |