Skip to content

update release workflow to keep the dashboard and core image names in lower case#6

Merged
Adhish-Krishna merged 3 commits intomasterfrom
development
Feb 27, 2026
Merged

update release workflow to keep the dashboard and core image names in lower case#6
Adhish-Krishna merged 3 commits intomasterfrom
development

Conversation

@Adhish-Krishna
Copy link
Member

No description provided.

@Adhish-Krishna
Copy link
Member Author

@copilot review this pr and then approve it if it is safe

Copy link
Contributor

Copilot AI commented Feb 27, 2026

@Adhish-Krishna I've opened a new pull request, #7, to work on those changes. Once the pull request is ready, I'll request review from you.

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 updates the GitHub Release workflow to ensure the Docker image references included in autogenerated release notes use a lower-cased repository owner (to match GHCR naming constraints).

Changes:

  • Derive a lower-cased repository owner in the release-notes generation step.
  • Build CORE_IMAGE / DASHBOARD_IMAGE strings from the lower-cased owner and use them in the Docker Images section and pull commands.

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

Comment on lines +67 to +69
OWNER_LOWER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
CORE_IMAGE="${{ env.REGISTRY }}/${OWNER_LOWER}/simplens-core"
DASHBOARD_IMAGE="${{ env.REGISTRY }}/${OWNER_LOWER}/simplens-dashboard"
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

CORE_IMAGE/DASHBOARD_IMAGE are now computed from a lower-cased owner, but the workflow still defines env.CORE_IMAGE_NAME / env.DASHBOARD_IMAGE_NAME at the top using ${{ github.repository_owner }} (not lower-cased) and they’re now unused. To avoid drift and to fully achieve the “image names in lower case” goal, either update those env values to use a lower-cased owner (e.g., via an Actions expression) and keep using them here, or remove the unused env vars entirely and document these as the single source of truth.

Copilot uses AI. Check for mistakes.
Review: release workflow lowercase Docker image names
@Adhish-Krishna Adhish-Krishna merged commit 2c73ad9 into master Feb 27, 2026
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