Bump github.com/aws/aws-sdk-go from 1.43.37 to 1.45.12 in /internal/aws/proxy #1456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tracegen | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: | |
jobs: | |
build-dev: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Build tracegen | |
uses: docker/build-push-action@v2 | |
with: | |
context: tracegen | |
push: false | |
tags: ghcr.io/open-telemetry/opentelemetry-collector-contrib/tracegen:dev | |
publish-master: | |
runs-on: ubuntu-latest | |
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && github.repository == 'open-telemetry/opentelemetry-collector-contrib' | |
permissions: | |
packages: write | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push tracegen to Github packages | |
uses: docker/build-push-action@v2 | |
with: | |
context: tracegen | |
push: true | |
tags: ghcr.io/open-telemetry/opentelemetry-collector-contrib/tracegen:latest | |
publish-stable: | |
runs-on: ubuntu-latest | |
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'open-telemetry/opentelemetry-collector-contrib' | |
permissions: | |
packages: write | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Set Release Tag | |
id: github_tag | |
run: ./.github/workflows/scripts/set_release_tag.sh | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push tracegen to Github packages | |
run: | | |
docker build tracegen -t ghcr.io/open-telemetry/opentelemetry-collector-contrib/tracegen:$RELEASE_TAG | |
docker push ghcr.io/open-telemetry/opentelemetry-collector-contrib/tracegen:$RELEASE_TAG | |
env: | |
RELEASE_TAG: ${{ steps.github_tag.outputs.tag }} |