Skip to content

Commit

Permalink
Merge pull request #9 from tidev/ewanharris-patch-1
Browse files Browse the repository at this point in the history
ci(deploy): add digest to docker image to ensure uniqueness
  • Loading branch information
cb1kenobi authored Feb 13, 2024
2 parents 7e948d6 + f0ab412 commit 9e9ba56
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
Expand Up @@ -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
Expand All @@ -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://[email protected]:22/modules.titaniumsdk.com'
ssh_private_key: ${{ secrets.DO_SSH_PRIVATE_KEY }}

0 comments on commit 9e9ba56

Please sign in to comment.