File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2727 file : ./docker/Dockerfile-debian
2828 platforms : linux/amd64,linux/arm64
2929 push : true
30+ build-args : |
31+ CACHE_BUST=${{ github.run_id }}
3032 tags : |
3133 ghcr.io/${{ github.repository_owner }}/trezor-user-env:${{ github.sha }}
Original file line number Diff line number Diff line change 3030 file : ./docker/Dockerfile-debian
3131 platforms : linux/amd64,linux/arm64
3232 push : true
33- # todo: using github.sha does not take into account downloaded binaries in Dockerfile.debian => sha stays same
33+ build-args : |
34+ CACHE_BUST=${{ github.run_id }}
3435 tags : |
3536 ghcr.io/${{ github.repository_owner }}/trezor-user-env:${{ github.sha }}
3637 ghcr.io/${{ github.repository_owner }}/trezor-user-env:latest
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ RUN uv sync
4949# Copy the rest of the files
5050COPY ./ /trezor-user-env
5151
52+ # Cache-bust downloads when inputs change
53+ ARG CACHE_BUST=1
5254RUN ./src/binaries/firmware/bin/download.sh
5355RUN ./src/binaries/trezord-go/bin/download.sh
5456RUN ./src/binaries/node-bridge/download.sh
You can’t perform that action at this time.
0 commit comments