-
Notifications
You must be signed in to change notification settings - Fork 1
Load rather than push untested image #3
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
Conversation
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.
Pull Request Overview
This PR modifies the CI/CD build workflow to use Docker image artifacts instead of pushing untested images directly to the registry. The change improves the workflow by ensuring only tested images are pushed to the container registry.
Key changes:
- Replace direct Docker push with artifact-based image storage and loading
- Add artifact upload/download steps to transfer the Docker image between jobs
- Update job outputs to reference the new artifact naming
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
.github/workflows/build.yml
Outdated
| run: | | ||
| docker load --input ${{ runner.temp }}/${{ needs.build.outputs.build-artifact }} | ||
| docker image ls -a | ||
| false |
Copilot
AI
Sep 24, 2025
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.
The false command will always cause the step to fail. This appears to be debugging code that should be removed before merging.
| false |
.github/workflows/build.yml
Outdated
| cache-from: type=gha | ||
| cache-to: type=gha | ||
| labels: ${{ steps.build-meta.outputs.labels }} | ||
| outputs: type=docker,dest=${{ runner.temp }}/iipsrv-${{ steps.build-meta.outputs.tags }}.tar |
Copilot
AI
Sep 24, 2025
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.
[nitpick] The artifact filename pattern iipsrv-${{ steps.build-meta.outputs.tags }}.tar is duplicated across multiple lines. Consider extracting this to an environment variable or job output to reduce duplication and potential inconsistencies.
.github/workflows/build.yml
Outdated
| name: iipsrv-${{ steps.build-meta.outputs.tags }}.tar | ||
| path: ${{ runner.temp }}/iipsrv-${{ steps.build-meta.outputs.tags }}.tar |
Copilot
AI
Sep 24, 2025
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.
[nitpick] The artifact filename pattern iipsrv-${{ steps.build-meta.outputs.tags }}.tar is duplicated across multiple lines. Consider extracting this to an environment variable or job output to reduce duplication and potential inconsistencies.
bf28c3b to
08efd4b
Compare
08efd4b to
6a8bcc7
Compare
No description provided.