Skip to content

Commit

Permalink
try no cache
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Aug 3, 2024
1 parent 827920e commit 9c0627b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build and push Docker image
run: |
echo "${{ secrets.GH_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
GITHUB_TOKEN=${{ secrets.GH_PAT }} docker buildx build --secret id=GITHUB_TOKEN -t ghcr.io/loftwah/linkarooie:latest --push .
GITHUB_TOKEN=${{ secrets.GH_PAT }} docker buildx build --no-cache --secret id=GITHUB_TOKEN -t ghcr.io/loftwah/linkarooie:latest --push .
- name: Deploy to droplet
uses: appleboy/ssh-action@master
Expand All @@ -47,4 +47,4 @@ jobs:
docker pull ghcr.io/loftwah/linkarooie:latest
# Run the new container
docker run -d --name linkarooie-app -p 80:3000 -e RAILS_ENV=production -e SECRET_KEY_BASE=${{ secrets.SECRET_KEY_BASE }} ghcr.io/loftwah/linkarooie:latest
docker run -d --name linkarooie-app -p 80:3000 -e RAILS_ENV=production -e SECRET_KEY_BASE=${{ secrets.SECRET_KEY_BASE }} ghcr.io/loftwah/linkarooie:latest

0 comments on commit 9c0627b

Please sign in to comment.