File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,12 @@ jobs:
195
195
with :
196
196
name : compose
197
197
path : ${{ env.DESTDIR }}
198
+ -
199
+ name : Create checksums
200
+ working-directory : ${{ env.DESTDIR }}
201
+ run : |
202
+ find . -type f -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# .*/# #' > checksums.txt
203
+ shasum -a 256 -U -c checksums.txt
198
204
-
199
205
name : License
200
206
run : cp packaging/* ${{ env.DESTDIR }}/
Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ COPY --link --from=build /usr/bin/docker-compose /docker-compose.exe
167
167
FROM binary-$TARGETOS AS binary
168
168
169
169
FROM --platform=$BUILDPLATFORM alpine AS releaser
170
- RUN apk add --no-cache file perl-utils
171
170
WORKDIR /work
172
171
ARG TARGETOS
173
172
ARG TARGETARCH
@@ -177,8 +176,7 @@ RUN --mount=from=binary \
177
176
# TODO: should just use standard arch
178
177
TARGETARCH=$([ "$TARGETARCH" = "amd64" ] && echo "x86_64" || echo "$TARGETARCH" ); \
179
178
TARGETARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "$TARGETARCH" ); \
180
- cp docker-compose* "/out/docker-compose-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}$(ls docker-compose* | sed -e 's/^docker-compose//')" && \
181
- (cd /out ; for f in *; do shasum --binary --algorithm 256 $f | tee -a /out/checksums.txt > $f.sha256; done)
179
+ cp docker-compose* "/out/docker-compose-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}$(ls docker-compose* | sed -e 's/^docker-compose//')"
182
180
183
181
FROM scratch AS release
184
182
COPY --from=releaser /out/ /
You can’t perform that action at this time.
0 commit comments