Skip to content

Commit

Permalink
Fix Dokku deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
justinh-rahb authored Feb 28, 2024
1 parent ed40da0 commit 406ba1b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,9 @@ jobs:
packages: none

steps:
- name: Download Docker image
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Use the Git reference (branch or tag) as the Docker tag.
tag: ${{ steps.meta.outputs.tags }}
id: download-image

- name: Deploy to Dokku
uses: dokku/[email protected]
with:
git_remote_url: ${{ env.DOKKU_REMOTE_URL }}
ci_branch_name: github.ref
ci_commit: ${{ steps.build-and-push-image.outputs.sha }}
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
deploy_docker_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.download-image.outputs.tag }}
deploy_docker_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

0 comments on commit 406ba1b

Please sign in to comment.