Skip to content

Conversation

@danschmidt5189
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings September 24, 2025 22:13
Copy link

Copilot AI left a 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.

run: |
docker load --input ${{ runner.temp }}/${{ needs.build.outputs.build-artifact }}
docker image ls -a
false
Copy link

Copilot AI Sep 24, 2025

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.

Suggested change
false

Copilot uses AI. Check for mistakes.
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
Copy link

Copilot AI Sep 24, 2025

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.

Copilot uses AI. Check for mistakes.
Comment on lines 54 to 55
name: iipsrv-${{ steps.build-meta.outputs.tags }}.tar
path: ${{ runner.temp }}/iipsrv-${{ steps.build-meta.outputs.tags }}.tar
Copy link

Copilot AI Sep 24, 2025

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.

Copilot uses AI. Check for mistakes.
@danschmidt5189 danschmidt5189 force-pushed the better-caching branch 4 times, most recently from bf28c3b to 08efd4b Compare September 29, 2025 21:12
@danschmidt5189 danschmidt5189 merged commit 3ae7d3f into main Sep 29, 2025
3 checks passed
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.

2 participants