Skip to content

Commit a0db4b1

Browse files
authored
Merge pull request #383 from roundcube/also-down-with-volumes-when-building-images
2 parents 50edf1e + 8a25f7b commit a0db4b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
set -exu;
113113
for testFile in ${{ join(matrix.test-files, ' ') }};
114114
do
115-
docker compose -f ./tests/docker-compose.test-${testFile}.yml \
116-
up --exit-code-from=sut --abort-on-container-exit
115+
docker compose -f ./tests/docker-compose.test-${testFile}.yml down -v
116+
docker compose -f ./tests/docker-compose.test-${testFile}.yml up --exit-code-from=sut --abort-on-container-exit
117117
done
118118
119119
# Only log into docker now, so we benefit from the automatic caching of upstream images.
@@ -156,8 +156,8 @@ jobs:
156156
set -exu;
157157
for testFile in ${{ join(matrix.test-files, ' ') }};
158158
do
159-
docker compose -f ./tests/docker-compose.test-${testFile}.yml \
160-
up --exit-code-from=sut --abort-on-container-exit
159+
docker compose -f ./tests/docker-compose.test-${testFile}.yml down -v
160+
docker compose -f ./tests/docker-compose.test-${testFile}.yml up --exit-code-from=sut --abort-on-container-exit
161161
done
162162
163163
- name: Build and push nonroot images for "${{ matrix.variant }} for all platforms"

0 commit comments

Comments
 (0)