Skip to content

ci: fix scheduled security scan artifact handoff - #323

Merged
c-vigo merged 1 commit into
devfrom
bugfix/320-security-scan-artifact-handoff
Mar 16, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/320-security-scan-artifact-handoff

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Description

Fix the scheduled security scan workflow by uploading the built container image artifact in build-image so security-scan can download it reliably.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/security-scan.yml
    • Add Upload image artifact step after image build in build-image
    • Upload /tmp/image.tar as container-image-${{ steps.version.outputs.version }}-amd64
    • Keep artifact settings aligned with CI workflow (retention-days: 1, compression-level: 0)

Changelog Entry

No changelog needed: issue #320 specifies "No changelog needed" and this is an internal CI workflow reliability fix.

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A (workflow change; validate via next scheduled or manual workflow run)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #320

@c-vigo c-vigo self-assigned this Mar 16, 2026
@c-vigo
c-vigo requested a review from Copilot March 16, 2026 09:13

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

Fixes the scheduled security scan workflow’s inter-job artifact handoff by ensuring the build-image job uploads the built container image tarball so the security-scan job can download it reliably.

Changes:

  • Upload /tmp/image.tar from build-image as container-image-${{ steps.version.outputs.version }}-amd64.
  • Align artifact retention/compression settings with the main CI workflow (retention-days: 1, compression-level: 0).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@c-vigo
c-vigo enabled auto-merge March 16, 2026 09:16
@c-vigo
c-vigo merged commit ddf34dc into dev Mar 16, 2026
16 checks passed
@c-vigo
c-vigo deleted the bugfix/320-security-scan-artifact-handoff branch March 16, 2026 09:21
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