mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
fix: action docker file path
This commit is contained in:
parent
7164ed36ab
commit
e818a29442
2 changed files with 8 additions and 8 deletions
8
.github/workflows/docker-image-backend.yml
vendored
8
.github/workflows/docker-image-backend.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
paths:
|
paths:
|
||||||
- 'backend/**'
|
- "backend/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -20,6 +20,6 @@ jobs:
|
||||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
- name: build the image
|
- name: build the image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --push \
|
cd backend && docker buildx build --push \
|
||||||
--tag stonith404/pingvin-share-backend:latest \
|
--tag stonith404/pingvin-share-backend:latest \
|
||||||
--platform linux/amd64,linux/arm64 .
|
--platform linux/amd64,linux/arm64 .
|
||||||
|
|
8
.github/workflows/docker-image-frontend.yml
vendored
8
.github/workflows/docker-image-frontend.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
paths:
|
paths:
|
||||||
- 'frontend/**'
|
- "frontend/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -20,6 +20,6 @@ jobs:
|
||||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
- name: build the image
|
- name: build the image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --push \
|
cd frontend && docker buildx build --push \
|
||||||
--tag stonith404/pingvin-share-frontend:latest \
|
--tag stonith404/pingvin-share-frontend:latest \
|
||||||
--platform linux/amd64,linux/arm64 .
|
--platform linux/amd64,linux/arm64 .
|
||||||
|
|
Loading…
Add table
Reference in a new issue