This commit is contained in:
parent
fabddd00a2
commit
68055b45ce
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -35,7 +35,9 @@ jobs:
|
||||
run: doctl registry login --expiry-seconds 600
|
||||
|
||||
- name: Push image to DigitalOcean Container Registry
|
||||
run: docker push registry.digitalocean.com/djpianalto/prepbot
|
||||
env:
|
||||
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
|
||||
run: docker push registry.digitalocean.com/djpianalto/prepbot:$IMAGE_TAG
|
||||
|
||||
- name: Update deployment file
|
||||
run: TAG=${{ steps.get_version.outputs.version-without-v }} && sed -i 's|<IMAGE>|registry.digitalocean.com/djpianalto/prepbot:'${TAG}'|' $GITHUB_WORKSPACE/deployment.yml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user