Skip to content

OX-5025 | Better redis connection error logging #47

OX-5025 | Better redis connection error logging

OX-5025 | Better redis connection error logging #47

Workflow file for this run

---
name: Docker-Build
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
permissions:
id-token: write
contents: read
jobs:
docker-build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWS_IAM_ROLE }}
role-session-name: github-${{ github.repository_id }}-${{ github.triggering_actor }}
aws-region: ${{ secrets.AWS_REGION }}
- uses: aws-actions/amazon-ecr-login@v1
id: login-ecr
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ steps.login-ecr.outputs.registry }}/dp-otel-collector-deduplicator
tags: |
type=sha,format=long,prefix=sha-
type=ref,event=branch
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
- name: Docker build
uses: docker/build-push-action@v3
with:
push: true
context: .
file: cmd/otelcontribcol/Dockerfile
cache-from: type=gha,scope=${{ github.ref_name }}-opentelemetry-collector
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-opentelemetry-collector
tags: ${{ steps.meta.outputs.tags }}