corrected workflows to use the root folder context

This commit is contained in:
Ulf Gebhardt 2021-10-09 13:51:40 +02:00
parent 5616c307f8
commit f76e056ac1
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ jobs:
########################################################################## ##########################################################################
- name: Backend | Build `production` image - name: Backend | Build `production` image
run: | run: |
docker build --target production -t "gradido/backend:latest" -t "gradido/backend:production" -t "gradido/backend:${VERSION}" -t "gradido/backend:${BUILD_VERSION}" backend/ docker build -f ./backend/Dockerfile --target production -t "gradido/backend:latest" -t "gradido/backend:production" -t "gradido/backend:${VERSION}" -t "gradido/backend:${BUILD_VERSION}" .
docker save "gradido/backend" > /tmp/backend.tar docker save "gradido/backend" > /tmp/backend.tar
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2

View File

@ -47,7 +47,7 @@ jobs:
########################################################################## ##########################################################################
- name: Backend | Build `test` image - name: Backend | Build `test` image
run: | run: |
docker build --target test -t "gradido/backend:test" backend/ docker build -f ./backend/Dockerfile --target test -t "gradido/backend:test" .
docker save "gradido/backend:test" > /tmp/backend.tar docker save "gradido/backend:test" > /tmp/backend.tar
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2