Skip to content

Use explicit beta image tag for Docker Scout scan and Jira payload#806

Merged
tammy-baylis-swi merged 2 commits into
NH-141840-add-docker-scout-ticketfrom
copilot/fix-code-review-suggestion
Jul 6, 2026
Merged

Use explicit beta image tag for Docker Scout scan and Jira payload#806
tammy-baylis-swi merged 2 commits into
NH-141840-add-docker-scout-ticketfrom
copilot/fix-code-review-suggestion

Conversation

Copilot AI commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This addresses the review comment on PR #797: docker/metadata-action emits steps.meta.outputs.tags as a multiline string, so indexing ([0]) is not a reliable image reference. The workflow now uses an explicit versioned tag derived from env.VERSION for both scan input and Jira ticket payload.

  • Workflow fix (build_publish_image_autoinstrumentation_beta.yaml)

    • Replaced steps.meta.outputs.tags[0] in Docker Scout image with:
      • ${{ github.repository_owner }}/autoinstrumentation-python:${{ env.VERSION }}-beta
    • Replaced steps.meta.outputs.tags[0] in Jira action image-tag with the same explicit tag.
  • Resulting behavior

    • Scout scan target and Jira metadata now resolve to the same deterministic, valid tag format, independent of metadata-action output shape.
with:
  command: cves
  image: ${{ github.repository_owner }}/autoinstrumentation-python:${{ env.VERSION }}-beta
...
with:
  image-tag: ${{ github.repository_owner }}/autoinstrumentation-python:${{ env.VERSION }}-beta

Copilot AI changed the title [WIP] Fix the code as per review comment Use explicit beta image tag for Docker Scout scan and Jira payload Jul 6, 2026
Copilot AI requested a review from tammy-baylis-swi July 6, 2026 20:59
@tammy-baylis-swi tammy-baylis-swi marked this pull request as ready for review July 6, 2026 21:11
@tammy-baylis-swi tammy-baylis-swi requested review from a team as code owners July 6, 2026 21:11
@tammy-baylis-swi tammy-baylis-swi merged commit f2f2d8a into NH-141840-add-docker-scout-ticket Jul 6, 2026
57 checks passed
@tammy-baylis-swi tammy-baylis-swi deleted the copilot/fix-code-review-suggestion branch July 6, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants