Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save merltron-pa/f1336e1a6885c56bd25ba50d8e23eee4 to your computer and use it in GitHub Desktop.
Save merltron-pa/f1336e1a6885c56bd25ba50d8e23eee4 to your computer and use it in GitHub Desktop.
- 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 }}
tag_names: true
buildargs: SSH_PRIVATE_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment