diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-15 23:55:13 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-16 00:23:06 +0200 |
commit | b22b51009c8cbfcb39fc301ac0f675edf2ef5c92 (patch) | |
tree | db96b4c01a957fe19c3215500896d87ed2228d70 /.github/workflows | |
parent | frontend: fix Docker builds (diff) | |
download | cgitize-b22b51009c8cbfcb39fc301ac0f675edf2ef5c92.tar.gz cgitize-b22b51009c8cbfcb39fc301ac0f675edf2ef5c92.zip |
move Dockerfile to docker/
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
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] |