Skip to content

Commit 6ed4920

Browse files
achilleas-kthozza
authored andcommitted
github: install dependencies to run snapshot update in images
When updating the repo snapshots in images, we need to regenerate manifest checksums, which requires compiling cmd/gen-manifests. Install the necessary dependencies to run the tool.
1 parent f794431 commit 6ed4920

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/scheduled-snapshots.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,9 @@ jobs:
197197
WORKFLOW_RUN: ${{ github.run_id }}
198198
ENUMERATE_CACHE_SUCCEEDED: ${{steps.wait_for_cache_job.outputs.enumerate_cache_succeeded}}
199199
REPO: "images"
200-
run: .github/scripts/snapshot_update_pr.sh
200+
# When updating the repo snapshots in images, we need to regenerate
201+
# manifest checksums, which requires compiling cmd/gen-manifests. Install
202+
# the necessary dependencies to run the tool
203+
run: |
204+
sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev libkrb5-dev golang
205+
.github/scripts/snapshot_update_pr.sh

0 commit comments

Comments
 (0)