aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-08 12:10:57 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-08 12:11:00 +0100
commitd7d84a667a30fbfd2a095ee4a691de9dae91e795 (patch)
treecd6417d47ed7e399ff1bf8c1bf45658217148173 /.github
parentMakefile: fix make */build recipes (diff)
downloadcgitize-d7d84a667a30fbfd2a095ee4a691de9dae91e795.tar.gz
cgitize-d7d84a667a30fbfd2a095ee4a691de9dae91e795.zip
Makefile: use docker-compose for make build
First, it would actually build both images: cgitize and cgitize-frontend. Second, it's already tested in t/i/docker.
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 1 insertions, 23 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 77ad7df..7f379d3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,29 +36,7 @@ jobs:
- name: Unit tests
run: python -m unittest --buffer
- build_docker:
- runs-on: ubuntu-latest
- name: 'Build / docker build'
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Build w/ docker build
- run: make docker/build
-
- build_buildx:
- runs-on: ubuntu-latest
- name: 'Build / docker buildx'
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Build w/ docker buildx
- run: |
- make buildx/create
- make buildx/build
- make buildx/rm
-
test_docker:
- needs: [test_local, build_docker, build_buildx]
runs-on: ubuntu-latest
name: 'Test / Docker'
steps:
@@ -68,7 +46,7 @@ jobs:
run: sudo ./test/integration/docker/test.sh
test_example_config:
- needs: [test_local, build_docker, build_buildx]
+ needs: [test_local, test_docker]
runs-on: ubuntu-latest
name: 'Test / example config'
env: