-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed40da0
commit 406ba1b
Showing
1 changed file
with
1 addition
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |