1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-06-30 14:40:10 +02:00

fix: action docker file path

This commit is contained in:
Elias Schneider 2022-10-10 22:36:56 +02:00
parent 7164ed36ab
commit e818a29442
2 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@ on:
push:
branches: main
paths:
- 'backend/**'
- "backend/**"
jobs:
build:
@ -20,6 +20,6 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
docker buildx build --push \
--tag stonith404/pingvin-share-backend:latest \
--platform linux/amd64,linux/arm64 .
cd backend && docker buildx build --push \
--tag stonith404/pingvin-share-backend:latest \
--platform linux/amd64,linux/arm64 .

View File

@ -4,7 +4,7 @@ on:
push:
branches: main
paths:
- 'frontend/**'
- "frontend/**"
jobs:
build:
@ -20,6 +20,6 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
docker buildx build --push \
--tag stonith404/pingvin-share-frontend:latest \
--platform linux/amd64,linux/arm64 .
cd frontend && docker buildx build --push \
--tag stonith404/pingvin-share-frontend:latest \
--platform linux/amd64,linux/arm64 .