mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 07:05:41 +00:00
Bump build-push-action version
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 3m16s
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 3m16s
This commit is contained in:
parent
a8411eafc3
commit
8452000fd5
@ -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
|
Loading…
Reference in New Issue
Block a user