chore: update configuration settings

This commit is contained in:
Elias Schneider
2022-10-11 22:35:13 +02:00
parent 388ac395ba
commit b073bb31b0
6 changed files with 9 additions and 49 deletions

View File

@@ -1,10 +1,8 @@
name: Create Docker Image for Backend
name: Create Docker Image
on:
push:
branches: main
paths:
- "backend/**"
jobs:
build:
@@ -18,8 +16,8 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: login to docker registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
- name: Build the image
run: |
cd backend && docker buildx build --push \
--tag stonith404/pingvin-share-backend:latest \
docker buildx build --push \
--tag stonith404/pingvin-share:latest \
--platform linux/amd64,linux/arm64 .

View File

@@ -1,25 +0,0 @@
name: Create Docker Image for Frontend
on:
push:
branches: main
paths:
- "frontend/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: login to docker registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
cd frontend && docker buildx build --push \
--tag stonith404/pingvin-share-frontend:latest \
--platform linux/amd64,linux/arm64 .