diff --git a/.github/workflows/build-one.yml b/.github/workflows/build-one.yml index cb9a7e7..bcaf6f3 100644 --- a/.github/workflows/build-one.yml +++ b/.github/workflows/build-one.yml @@ -127,6 +127,14 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login to GitHub Container registry + if: ${{ github.ref == 'refs/heads/master' }} + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to US GAR if: ${{ github.ref == 'refs/heads/master' }} uses: docker/login-action@v3 @@ -170,6 +178,8 @@ jobs: tags: | zenika/${{ env.IMAGE_NAME }} zenika/${{ env.IMAGE_VERSIONED_NAME }} + ghcr.io/zenika/${{ env.IMAGE_NAME }} + ghcr.io/zenika/${{ env.IMAGE_VERSIONED_NAME }} us-docker.pkg.dev/zenika-hub/gcr.io/${{ env.IMAGE_NAME }} us-docker.pkg.dev/zenika-hub/gcr.io/${{ env.IMAGE_VERSIONED_NAME }} us-docker.pkg.dev/zenika-hub/us.gcr.io/${{ env.IMAGE_NAME }} diff --git a/README.md b/README.md index a4c8ac2..891f6a8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Following the changes with the [Rate Limiting on Docker Hub](https://www.docker.com/increase-rate-limits). [Tweet here for more information in 🇫🇷](https://twitter.com/jlandure/status/1322474352554770432) - On the [Docker Hub](https://hub.docker.com/r/zenika/alpine-chrome) without any prefix: `zenika/alpine-chrome` +- On [GitHub Container registry](https://github.com/Zenika/alpine-chrome/pkgs/container/alpine-chrome): `ghcr.io/zenika/alpine-chrome` - On Google Cloud - available in the closest region: - Global: `gcr.io/zenika-hub/alpine-chrome` - Europe: `eu.gcr.io/zenika-hub/alpine-chrome`