-
Notifications
You must be signed in to change notification settings - Fork 595
added new workflow #2323
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
base: feature/puzzletron_v2
Are you sure you want to change the base?
added new workflow #2323
Changes from all commits
ad253cb
4c05e7b
1a9b087
9283450
b88190d
92cba3e
cf19e60
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 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||||||||
| name: Build and push Docker images for Puzzletron | ||||||||||||
|
|
||||||||||||
| on: | ||||||||||||
| pull_request: | ||||||||||||
| types: [opened, synchronize, reopened] | ||||||||||||
| # branches: [feature/puzzletron_v2] | ||||||||||||
| schedule: | ||||||||||||
| - cron: "0 0 * * 6" # Nightly on Saturday | ||||||||||||
| workflow_dispatch: | ||||||||||||
| # On-demand | ||||||||||||
|
|
||||||||||||
| jobs: | ||||||||||||
| build_image: | ||||||||||||
| name: Build Puzzletron v2 Docker image | ||||||||||||
| runs-on: ubuntu-latest | ||||||||||||
| permissions: | ||||||||||||
| contents: read | ||||||||||||
| timeout-minutes: 30 | ||||||||||||
| steps: | ||||||||||||
| - uses: actions/checkout@v6 | ||||||||||||
| # uses: docker/build-push-action@v7.3.0 | ||||||||||||
| - name: Build image | ||||||||||||
| run: | | ||||||||||||
| echo "BUILDING IMAGE" | ||||||||||||
| docker build . -f examples/puzzletron/Dockerfile | ||||||||||||
|
Contributor
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. 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win Pass the required
- docker build . -f examples/puzzletron/Dockerfile
+ docker build \
+ --file examples/puzzletron/Dockerfile \
+ --build-arg MODELOPT_REVISION="${GITHUB_SHA}" \
+ .📝 Committable suggestion
Suggested change
🧰 Tools🪛 zizmor (1.29.0)[warning] 20-27: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) 🤖 Prompt for AI Agents |
||||||||||||
|
|
||||||||||||
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.
🚀 Performance & Scalability | 🟠 Major | ⚡ Quick win
Enable the intended pull request branch filter.
The
branchesfilter is commented out, so this workflow starts the full Docker build for pull requests targeting every branch. The stated target isfeature/puzzletron_v2.📝 Committable suggestion
🤖 Prompt for AI Agents