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
, orus.gcr.io
)
Example usage:
- name: Login Docker
uses: 'lagren/docker-gcr-action@master'
with:
SERVICE_ACCOUNT_KEY: ${{ secrets.SERVICE_ACCOUNT_KEY }}
HOST: 'gcr.io'