Skip to content

Commit

Permalink
Merge pull request #1 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 committed Feb 13, 2024
2 parents f36427b + db50fc9 commit 5ffc7b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Expand Up @@ -38,6 +38,7 @@ jobs:
password: ${{ secrets.TIDEV_REGISTRY_PASSWORD }}

- name: Build and push
id: build
uses: docker/build-push-action@v5
with:
push: true
Expand All @@ -47,7 +48,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/jira-attachments.titaniumsdk.com'
ssh_private_key: ${{ secrets.DO_SSH_PRIVATE_KEY }}

0 comments on commit 5ffc7b2

Please sign in to comment.