Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save merltron-pa/c47b13568b51693f6cc35bb377b3e1c7 to your computer and use it in GitHub Desktop.

Select an option

Save merltron-pa/c47b13568b51693f6cc35bb377b3e1c7 to your computer and use it in GitHub Desktop.
- name: Login to gcloud registry
id: gcloud
uses: elgohr/[email protected]
with:
account_key: ${{ secrets.GCLOUD_KEY }}
- name: Publish Docker Image
uses: elgohr/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
with:
name: ${{ env.DOCKER_IMAGE }}
username: ${{ steps.gcloud.outputs.username }}
password: ${{ steps.gcloud.outputs.password }}
registry: ${{ env.DOCKER_REGISTRY }}
buildargs: SSH_PRIVATE_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment