/docker-gcr-action

GitHub Action for allowing Docker to push images to Google Cloud Container Registry

Primary LanguageJavaScriptApache License 2.0Apache-2.0

docker-gcr-action

.github/workflows/main.yml

GitHub Action for allowing Docker to push images to Google Cloud Container Regitry.

Requirements:

  • Google Service Account Key
  • Registry host (gcr.io, asia.gcr.io, eu.gcr.io, or us.gcr.io)

Example usage:

- name: Login Docker
  uses: 'lagren/docker-gcr-action@master'
  with:
    SERVICE_ACCOUNT_KEY: ${{ secrets.SERVICE_ACCOUNT_KEY }}
    HOST: 'gcr.io'