diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 11ae6d8..62b0fd0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,15 +24,14 @@ jobs: run: | touch .env echo "${{secrets.ENV_FILE}}" >> .env - - run: ls -la - - name: Push to GitHub Packages - uses: docker/build-push-action@v1 + - name: Login to Github Docker Registry + uses: docker/login-action@v3 with: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} - repository: ${{ env.REPOSITORY }} - tag_with_ref: true + - name: Push to GitHub Packages + uses: docker/build-push-action@v6 deploy: needs: [push_to_registry] name: Deploy to DigitalOcean