-
Notifications
You must be signed in to change notification settings - Fork 0
ci/docs: add act local CI workflow support to all build pipelines #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,6 +130,32 @@ docker build \ | |
| . | ||
| ``` | ||
|
|
||
| ## Local CI Workflow Testing with `act` | ||
|
|
||
| The full CI workflow can be run locally using [`act`](https://github.com/nektos/act) — this builds the image through the same pipeline steps that run on GitHub Actions, without pushing to GHCR and without any secrets. From the root of the `silver-stack` repository: | ||
|
|
||
| ```bash | ||
| act push \ | ||
| -W .github/workflows/build-guacamole-rootfs.yml \ | ||
| --no-cache-server | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Remove Useful? React with 👍 / 👎. |
||
| ``` | ||
|
|
||
| The image builds and loads into the local Docker daemon. No GITHUB_TOKEN or GHCR credentials are required. | ||
|
|
||
| ### Verify the Built Image | ||
|
|
||
| ```bash | ||
| docker images | grep guacamole-rootfs | ||
| ``` | ||
|
|
||
| ## Published Image | ||
|
|
||
| The image is built and pushed to GHCR automatically via GitHub Actions on every push to `main`. No manual push is involved. | ||
|
|
||
| ```bash | ||
| docker pull ghcr.io/ibtisam-iq/guacamole-rootfs:latest | ||
| ``` | ||
|
|
||
| ## Usage in an iximiuz Playground | ||
|
|
||
| ```bash | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When act sets
ACT, this enablesloadwhile the build still targets bothlinux/amd64andlinux/arm64; the Ubuntu workflow has the same combination. Docker documents--loadas loading a single-platform result and notes that the default Engine image store cannot load multi-platform images (Buildx--loaddocumentation). Consequently, the documented local run fails on standalone/classic Docker installations; select the host platform for act runs or use a multi-platform-capable output/store.Useful? React with 👍 / 👎.