Skip to content

feat: upgrade go to 1.23 #115

feat: upgrade go to 1.23

feat: upgrade go to 1.23 #115

name: OTELCollector CI
on:
pull_request:
paths:
- "otelcollector/**/*"
- ".github/workflows/otelcollector-ci.yaml"
concurrency:
group: ${{github.workflow}}-${{github.head_ref}}
cancel-in-progress: true
env:
CI: true
jobs:
build_push_image:
# This is a limitation of GitHub. Only organization members can push to GitHub Container Registry
# For now, we will disable the push to the GitHub Container Registry for external contributors
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-push-image
with:
docker_username: ${{secrets.DOCKER_USERNAME}}
docker_password: ${{secrets.DOCKER_PASSWORD}}
docker_context: otelcollector
dockerfile: otelcollector/Dockerfile
token: ${{secrets.GITHUB_TOKEN}}
image_name: otelcollector
image_description: "Cosmo OTEL Collector"