From 93cdc3423c5f97cd6e89dac712bd41e614761106 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Fri, 5 Aug 2022 12:31:20 +0000 Subject: [PATCH] Bump pipeline from 1.22.0 to 1.22.0 Bumps pipeline from 1.22.0 to 1.22.0. Signed-off-by: GitHub --- .github/workflows/create-package.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index 93542a4..62e9c87 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -16,6 +16,13 @@ jobs: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} registry: gcr.io username: _json_key + - name: Docker login docker.io + if: ${{ (github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork) && (github.actor != 'dependabot[bot]') }} + uses: docker/login-action@v2 + with: + password: ${{ secrets.PAKETO_BUILDPACKS_DOCKERHUB_PASSWORD }} + registry: docker.io + username: ${{ secrets.PAKETO_BUILDPACKS_DOCKERHUB_USERNAME }} - uses: actions/setup-go@v3 with: go-version: "1.17" @@ -188,7 +195,7 @@ jobs: --format "${FORMAT}" fi env: - PACKAGES: gcr.io/paketo-buildpacks/eclipse-openj9 + PACKAGES: docker.io/paketobuildpacks/eclipse-openj9 gcr.io/paketo-buildpacks/eclipse-openj9 PUBLISH: "true" VERSION: ${{ steps.version.outputs.version }} VERSION_MAJOR: ${{ steps.version.outputs.version-major }} @@ -218,7 +225,7 @@ jobs: - if: ${{ true }} uses: docker://ghcr.io/buildpacks/actions/registry/request-add-entry:4.0.1 with: - address: gcr.io/paketo-buildpacks/eclipse-openj9@${{ steps.package.outputs.digest }} + address: docker.io/paketobuildpacks/eclipse-openj9@${{ steps.package.outputs.digest }} id: paketo-buildpacks/eclipse-openj9 token: ${{ secrets.JAVA_GITHUB_TOKEN }} version: ${{ steps.version.outputs.version }}