Add docker build automation with push/PR triggers and Dependabot - #2
Conversation
|
@copilot make this also run on push/pr and add a Dependabot config to maintain the action |
Done in the latest commit. Added |
There was a problem hiding this comment.
Pull request overview
Adds GitHub automation for building the repo’s Docker image on common CI triggers, and configures Dependabot to keep GitHub Actions dependencies updated over time.
Changes:
- Introduces a GitHub Actions workflow to build the Docker image on push, pull_request, schedule, and manual dispatch.
- Restricts workflow token permissions to read-only contents.
- Adds Dependabot configuration for monthly GitHub Actions update PRs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/docker-build.yml |
Adds CI workflow to checkout and run docker build on multiple triggers with restricted token permissions. |
.github/dependabot.yml |
Enables monthly Dependabot updates for GitHub Actions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Build Docker image | ||
| run: docker build --tag pico-build-env:test . |
There was a problem hiding this comment.
It's not getting pushed anywhere. The tag is meaningless ya dingus
| - name: Checkout repository | ||
| uses: actions/checkout@v4 |
.github/workflows/docker-build.ymlwith monthly schedule, push, pull_request, and manual triggerspermissions: contents: readto restrict GITHUB_TOKEN.github/dependabot.ymlto keep GitHub Actions dependencies up to date (monthly schedule)