Last active
May 7, 2020 11:33
-
-
Save merltron-pa/c47b13568b51693f6cc35bb377b3e1c7 to your computer and use it in GitHub Desktop.
Example workflow used in this article: https://medium.com/@merlin.pav/cc1e2aacd9da?source=friends_link&sk=dcb39201c9d8bf917e1329af08ea1719
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Login to gcloud registry | |
id: gcloud | |
uses: elgohr/gcloud-login-action@0.2 | |
with: | |
account_key: ${{ secrets.GCLOUD_KEY }} | |
- name: Publish Docker Image | |
uses: elgohr/Publish-Docker-Github-Action@2.14 | |
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