Skip to content

Commit 30394b5

Browse files
authored
fix compile-docs workflow (#2874)
[ ] Check if this is a typo or other quick fix and ignore the rest :) ## Type of change <!-- Please be sure to add the appropriate label to your PR. --> ### What should this PR do? <!-- Does this PR resolve an issue? Please include a reference to it. --> ### Why are we making this change? <!-- What larger problem does this PR address? --> ### What are the acceptance criteria? <!-- What should be happening for this PR to be accepted? Please list criteria. --> <!-- Do any stakeholders need to be tagged in this review? If so, please add them. --> ### How should this PR be tested? <!-- What should your reviewer do to test this PR? Please list steps. -->
1 parent 428bb9c commit 30394b5

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/compile-docs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,16 @@ jobs:
146146
# Sign the main documentation file
147147
cosign sign-blob chainguard-complete-docs.md \
148148
--yes \
149+
--bundle chainguard-complete-docs.md.bundle \
149150
--output-signature chainguard-complete-docs.md.sig \
150151
--output-certificate chainguard-complete-docs.md.crt
151-
152+
152153
# Sign the checksums file
153154
cosign sign-blob checksums.txt \
154155
--yes \
155-
--output-signature checksums.txt.sig
156+
--bundle checksums.txt.bundle \
157+
--output-signature checksums.txt.sig \
158+
--output-certificate checksums.txt.crt
156159
157160
# Copy verification script
158161
cp $GITHUB_WORKSPACE/edu/scripts/verification.sh .
@@ -162,14 +165,19 @@ jobs:
162165
chainguard-complete-docs.md \
163166
chainguard-complete-docs.md.sig \
164167
chainguard-complete-docs.md.crt \
168+
chainguard-complete-docs.md.bundle \
165169
checksums.txt \
166170
checksums.txt.sig \
171+
checksums.txt.crt \
172+
checksums.txt.bundle \
167173
verification.sh
168174
169175
# Sign the bundle
170176
cosign sign-blob chainguard-ai-docs.tar.gz \
171177
--yes \
172-
--output-signature chainguard-ai-docs.tar.gz.sig
178+
--bundle chainguard-ai-docs.tar.gz.bundle \
179+
--output-signature chainguard-ai-docs.tar.gz.sig \
180+
--output-certificate chainguard-ai-docs.tar.gz.crt
173181
174182
- name: Build and push container image
175183
if: github.ref == 'refs/heads/main'
@@ -303,5 +311,7 @@ jobs:
303311
files: |
304312
${{ env.TEMP_BUILD_DIR }}/chainguard-ai-docs.tar.gz
305313
${{ env.TEMP_BUILD_DIR }}/chainguard-ai-docs.tar.gz.sig
314+
${{ env.TEMP_BUILD_DIR }}/chainguard-ai-docs.tar.gz.crt
315+
${{ env.TEMP_BUILD_DIR }}/chainguard-ai-docs.tar.gz.bundle
306316
draft: false
307317
prerelease: false

0 commit comments

Comments
 (0)