Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Nov 29, 2024
1 parent 001583a commit 83ea53a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-ocb-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 83ea53a

Please sign in to comment.