Skip to content

Use explicit env.VERSION image tag in autoinstrumentation Docker Scout + Jira steps#805

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

Use explicit env.VERSION image tag in autoinstrumentation Docker Scout + Jira steps#805
tammy-baylis-swi merged 2 commits into
NH-141840-add-docker-scout-ticketfrom
copilot/fix-code-review-comment

Conversation

Copilot AI commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR addresses the review comment about unreliable use of steps.meta.outputs.tags[0] from docker/metadata-action (multi-line output). It switches affected workflow inputs to an explicit image reference derived from env.VERSION.

  • Scope

    • Updated only .github/workflows/build_publish_image_autoinstrumentation.yaml
    • No changes outside the referenced review comment scope
  • Workflow input fix

    • Replaced indexed metadata tag usage in:
      • Docker Scout CVE scan image input
      • Jira action image-tag input
    • New value uses a deterministic explicit tag:
      • ${{ github.repository_owner }}/autoinstrumentation-python:${{ env.VERSION }}
  • Before/after

# before
image: ${{ steps.meta.outputs.tags[0] }}
image-tag: ${{ steps.meta.outputs.tags[0] }}

# after
image: ${{ github.repository_owner }}/autoinstrumentation-python:${{ env.VERSION }}
image-tag: ${{ github.repository_owner }}/autoinstrumentation-python:${{ env.VERSION }}

Copilot AI changed the title [WIP] Fix code according to review comment Use explicit env.VERSION image tag in autoinstrumentation Docker Scout + Jira steps Jul 6, 2026
Copilot AI requested a review from tammy-baylis-swi July 6, 2026 20:55
@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 3f2e37a 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-comment 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