File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ jobs:
105105 - name : Build release test Docker image
106106 uses : docker/build-push-action@v6
107107 with :
108+ build-args :
109+ RELEASE_DOWNLOAD_URL : ${{ needs.create-release.outputs.html_url }}
108110 push : false
109111 tags : |
110112 ghcr.io/kit-mrt/util_caching_release_tests
Original file line number Diff line number Diff line change @@ -48,10 +48,12 @@ RUN cmake .. && \
4848
4949FROM base AS release_test
5050
51+ ARG RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/util_caching/releases/latest/download/
52+
5153# This downloads the latest util_caching debian release and adds it to the docker image
5254# This "bloats" the image. But otherwise, we'd have to installing wget and ca-certificates
5355# temporarily to download and install the package in one docker layer…
54- ADD https://github.com/KIT-MRT/util_caching/releases/latest/download /libutil-caching-dev.deb /tmp/debfiles/
56+ ADD ${RELEASE_DOWNLOAD_URL} /libutil-caching-dev.deb /tmp/debfiles/
5557
5658# Install util_caching from release debian package
5759RUN dpkg -i /tmp/debfiles/*.deb && \
You can’t perform that action at this time.
0 commit comments