-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: build and publish dev images for otel sidecar
- Loading branch information
Showing
4 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ env: | |
LATEST_TAG: "main" | ||
|
||
jobs: | ||
build-sidecar: | ||
build-fluentbit-sidecar: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -54,6 +54,38 @@ jobs: | |
run: make build-push-multiplatform TAG=${{ env.SIDECAR_IMAGE_ECR }}:${{ env.LATEST_TAG }} | ||
working-directory: ./sidecar/fluentbit | ||
|
||
build-otelcol-sidecar: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
cache-dependency-path: | | ||
sidecar/otelcol/.otelcol-builder.yaml | ||
sidecar/otelcol/.goreleaser.yaml | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: USERNAME | ||
password: ${{ secrets.CR_PAT }} | ||
- name: Log in to AWS Public ECR | ||
run: make login-ecr | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_TAILING_SIDECAR_DEV }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_TAILING_SIDECAR_DEV }} | ||
- name: Build and push otelcol sidecar image | ||
run: | | ||
make install-builder | ||
make release-dev | ||
working-directory: ./sidecar/otelcol | ||
|
||
build-operator: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,8 +58,8 @@ jobs: | |
with: | ||
go-version: '1.21' | ||
cache-dependency-path: | | ||
.otelcol-builder.yaml | ||
.goreleaser.yaml | ||
sidecar/otelcol/.otelcol-builder.yaml | ||
sidecar/otelcol/.goreleaser.yaml | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
- name: Set up Docker Buildx | ||
|
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
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