Update actions
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Dustin Pianalto 2021-06-22 01:37:41 -08:00
parent 61d500946e
commit c72dcd0ec3

View File

@ -35,7 +35,9 @@ jobs:
run: doctl registry login --expiry-seconds 600 run: doctl registry login --expiry-seconds 600
- name: Push image to DigitalOcean Container Registry - name: Push image to DigitalOcean Container Registry
run: docker push registry.digitalocean.com/djpianalto/goff env:
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
run: docker push registry.digitalocean.com/djpianalto/goff:$IMAGE_TAG
- name: Update deployment file - name: Update deployment file
run: TAG=${{ steps.get_version.outputs.version-without-v }} && sed -i 's|<IMAGE>|registry.digitalocean.com/djpianalto/goff:'${TAG}'|' $GITHUB_WORKSPACE/deployment.yml run: TAG=${{ steps.get_version.outputs.version-without-v }} && sed -i 's|<IMAGE>|registry.digitalocean.com/djpianalto/goff:'${TAG}'|' $GITHUB_WORKSPACE/deployment.yml