Skip to content

Commit f940499

Browse files
authored
Merge pull request #8 from IBM/FixWheelReleaseWithBuildx
Fix wheel release with buildx
2 parents e4c74fc + d81aba2 commit f940499

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ ARG RELEASE_DRY_RUN
4949
COPY ./test /src/test
5050
COPY ./ci/run-tests.sh /src/ci/run-tests.sh
5151
RUN true && \
52-
([ "$RELEASE_DRY_RUN" != "true" ] && sleep 90 || true) && \
52+
([ "$RELEASE_DRY_RUN" != "true" ] && sleep 30 || true) && \
53+
pip cache purge && \
5354
pip install alchemy-config==${RELEASE_VERSION} && \
5455
./ci/run-tests.sh && \
5556
true

ci/release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ cd $(dirname ${BASH_SOURCE[0]})/..
66
# Get the tag for this release
77
tag=$(echo $REF | cut -d'/' -f3-)
88

9+
# We explicitly don't want to run with buildkit so that the docker builds happen
10+
# in a linear fashion since our `release_test` stages intentionally don't
11+
# inherit from the stages where the publication happens.
12+
export DOCKER_BUILDKIT=0
13+
914
# Build the docker phase that will release and then test it
1015
docker build . \
1116
--target=release_test \

0 commit comments

Comments
 (0)