aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 32d6d88..468c88c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -76,7 +76,7 @@ jobs:
matrix:
service: [backend, frontend]
include:
- - {service: backend, context: ., image: cgitize}
+ - {service: backend, file: docker/Dockerfile, image: cgitize}
- {service: frontend, context: docker/frontend, image: cgitize-frontend}
name: 'Publish / Docker Hub / ${{ matrix.service }}'
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
@@ -118,10 +118,11 @@ jobs:
uses: docker/build-push-action@v2
with:
context: '${{ matrix.context }}'
+ file: '${{ matrix.file }}'
+ labels: '${{ steps.meta.outputs.labels }}'
platforms: '${{ steps.platforms.outputs.platforms }}'
push: true
tags: '${{ steps.meta.outputs.tags }}'
- labels: '${{ steps.meta.outputs.labels }}'
publish_pypi:
needs: [test_local, test_example_config, test_docker, publish_docker]