From 83ea53ac0209b9e2e9a29e6556dadbcd242b7803 Mon Sep 17 00:00:00 2001 From: jjllee Date: Fri, 29 Nov 2024 15:57:38 -0800 Subject: [PATCH] wip --- .github/workflows/release-ocb-components.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-ocb-components.yml b/.github/workflows/release-ocb-components.yml index 40e5b096f9d7..ac34dd10f31d 100644 --- a/.github/workflows/release-ocb-components.yml +++ b/.github/workflows/release-ocb-components.yml @@ -18,10 +18,9 @@ jobs: steps: - uses: actions/checkout@v4 with: - path: opentelemetry-collector-contrib ref: aws-ocb-dev - name: get hash - working-directory: opentelemetry-collector-contrib + working-directory: . run: | RELEASE_HASH=$(git rev-parse HEAD) echo RELEASE_HASH="$RELEASE_HASH" >> $GITHUB_ENV @@ -41,7 +40,6 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to private AWS ECR - if: ${{ inputs.push_image == true || inputs.push_image == 'true' }} uses: docker/login-action@v3 with: registry: ${{ inputs.image_registry }} @@ -61,8 +59,8 @@ jobs: uses: docker/build-push-action@v5 with: push: true - context: ./opentelemetry-collector-contrib/.github/workflows/ocb-utils/ - file: ./opentelemetry-collector-contrib/.github/workflows/ocb-utils/Dockerfile + context: ./.github/workflows/ocb-utils/ + file: ./.github/workflows/ocb-utils/Dockerfile platforms: linux/amd64 tags: ${{ secrets.ECR_REPO }}:${{ env.RELEASE_HASH }} load: false