From 406ba1b3442cd64d76ec9b79388677c314391736 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Wed, 28 Feb 2024 13:01:52 -0500 Subject: [PATCH] Fix Dokku deploy --- .github/workflows/docker-image.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 615d5a0..5cd6008 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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/github-action@v1.4.0 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 }} \ No newline at end of file + deploy_docker_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest