Skip to content

Commit

Permalink
ci(deploy): add digest to docker image to ensure uniqueness
Browse files Browse the repository at this point in the history
ewanharris authored Feb 13, 2024
1 parent 7e948d6 commit f0ab412
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -41,6 +41,7 @@ jobs:
password: ${{ secrets.TIDEV_REGISTRY_PASSWORD }}

- name: Build and push
id: build
uses: docker/build-push-action@v5
with:
push: true
@@ -50,7 +51,7 @@ jobs:
- name: Push to dokku
uses: dokku/github-action@master
with:
deploy_docker_image: ${{ secrets.TIDEV_REGISTRY_URL }}/${{ steps.meta.outputs.tags }}
deploy_docker_image: ${{ secrets.TIDEV_REGISTRY_URL }}/${{ steps.meta.outputs.tags }}@${{ steps.build.outputs.digest }}
git_push_flags: '--force'
git_remote_url: 'ssh://dokku@titaniumsdk.com:22/modules.titaniumsdk.com'
ssh_private_key: ${{ secrets.DO_SSH_PRIVATE_KEY }}

0 comments on commit f0ab412

Please sign in to comment.