Skip to content

Add docker build automation with push/PR triggers and Dependabot - #2

Merged
donatj merged 4 commits into
masterfrom
copilot/add-docker-build-automation
Jun 17, 2026
Merged

donatj merged 4 commits into
masterfrom
copilot/add-docker-build-automation

Conversation

Copilot AI commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor
  • Create .github/workflows/docker-build.yml with monthly schedule, push, pull_request, and manual triggers
  • Workflow only builds the Docker image, no push
  • Explicit permissions: contents: read to restrict GITHUB_TOKEN
  • Docker build uses a tag for easier identification
  • Add .github/dependabot.yml to keep GitHub Actions dependencies up to date (monthly schedule)

Copilot stopped work on behalf of donatj due to an error June 17, 2026 14:02
Copilot AI requested a review from donatj June 17, 2026 14:02
@donatj

donatj commented Jun 17, 2026

Copy link
Copy Markdown
Member

@copilot make this also run on push/pr and add a Dependabot config to maintain the action

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot make this also run on push/pr and add a Dependabot config to maintain the action

Done in the latest commit. Added push and pull_request triggers to the workflow, and created .github/dependabot.yml with a monthly schedule to keep actions/checkout (and any future actions) up to date.

Copilot AI changed the title [WIP] Add docker build automation for monthly checks Add docker build automation with push/PR triggers and Dependabot Jun 17, 2026
@donatj
donatj marked this pull request as ready for review June 17, 2026 14:09
Copilot AI review requested due to automatic review settings June 17, 2026 14:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +19 to +20
- name: Build Docker image
run: docker build --tag pico-build-env:test .

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not getting pushed anywhere. The tag is meaningless ya dingus

Comment thread .github/workflows/docker-build.yml
Comment on lines +16 to +17
- name: Checkout repository
uses: actions/checkout@v4
@donatj
donatj merged commit c5239be into master Jun 17, 2026
4 checks passed
@donatj
donatj deleted the copilot/add-docker-build-automation branch June 17, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants