diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 5417fb561..15470f024 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -36,29 +36,29 @@ jobs: - image: executor target: kaniko-executor platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le - image-name: gcr.io/kaniko-project/executor + image-name: martizih/kaniko tag: ${{ github.sha }} release-tag: latest - image: executor-debug target: kaniko-debug platforms: linux/amd64,linux/arm64,linux/s390x - image-name: gcr.io/kaniko-project/executor + image-name: martizih/kaniko tag: ${{ github.sha }}-debug release-tag: debug - image: executor-slim target: kaniko-slim platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le - image-name: gcr.io/kaniko-project/executor + image-name: martizih/kaniko tag: ${{ github.sha }}-slim release-tag: slim - image: warmer target: kaniko-warmer platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le - image-name: gcr.io/kaniko-project/warmer - tag: ${{ github.sha }} + image-name: martizih/kaniko + tag: ${{ github.sha }}-warmer release-tag: latest steps: @@ -66,15 +66,10 @@ jobs: # Setup auth if not a PR. - if: github.event_name != 'pull_request' - uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10 + uses: docker/login-action@v3 with: - credentials_json: '${{ secrets.GCR_DEVOPS_SERVICE_ACCOUNT_KEY }}' - export_environment_variables: true - create_credentials_file: true - - if: github.event_name != 'pull_request' - uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0 - - if: github.event_name != 'pull_request' - run: gcloud auth configure-docker + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} # Don't build for all platforms on PRs. - id: platforms