Skip to content

Commit

Permalink
Merge pull request #602 from aws-observability/fix_hardcoded_tag
Browse files Browse the repository at this point in the history
Removing hardcoded image tag
  • Loading branch information
PaurushGarg authored Nov 17, 2023
2 parents a1bf589 + 6b2b882 commit 8556b5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
java_agent_tag: ${{ steps.java_agent_versioning.outputs.STAGING_TAG}}
staging-image-name: ${{ steps.imageNameOutput.outputs.imageName }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -180,6 +181,10 @@ jobs:
tags: |
${{ env.STAGING_ECR_REGISTRY }}/${{ env.STAGING_ECR_REPOSITORY }}:${{ steps.java_agent_versioning.outputs.STAGING_TAG }}
- name: Set image name to output
id: imageNameOutput
run: echo "imageName=${{ env.STAGING_ECR_REGISTRY }}/${{ env.STAGING_ECR_REPOSITORY }}:${{ steps.java_agent_versioning.outputs.STAGING_TAG }}" >> "$GITHUB_OUTPUT"

create-test-ref:
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -457,7 +462,7 @@ jobs:
secrets: inherit
with:
test-cluster-name: "e2e-adot-test"
appsignals-adot-image-name: 611364707713.dkr.ecr.us-west-2.amazonaws.com/adot-autoinstrumentation-java-operator-staging:${{ needs.build.outputs.java_agent_tag }}
appsignals-adot-image-name: ${{ needs.build.outputs.staging-image-name }}
caller-workflow-name: 'main-build'

publish-build-status:
Expand Down

0 comments on commit 8556b5e

Please sign in to comment.