Bump build-push-action version
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 3m16s

This commit is contained in:
r-freeman 2024-08-23 11:29:50 +01:00
parent a8411eafc3
commit 8452000fd5

View File

@ -33,7 +33,7 @@ jobs:
mirrors = ["mirror.gcr.io"] mirrors = ["mirror.gcr.io"]
- name: Build and push Docker image - name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v6
with: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
@ -52,4 +52,5 @@ jobs:
run: sudo docker pull ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1 run: sudo docker pull ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
- name: Run the Docker container - name: Run the Docker container
run: sudo docker run -d --restart unless-stopped --env-file ./.env --name portfolio -p ${{vars.TAILSCALE_IP}}:3000:3000 ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1 run: sudo docker run -d --restart unless-stopped --env-file ./.env --name portfolio -p ${{vars.TAILSCALE_IP}}:3000:3000 \
${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1