From b22b51009c8cbfcb39fc301ac0f675edf2ef5c92 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 15 Oct 2022 23:55:13 +0200 Subject: move Dockerfile to docker/ --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github') 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] -- cgit v1.2.3