This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- 'otel-lgtm/**'
|
||||
- '.gitea/workflows/build-otel-lgtm.yaml'
|
||||
jobs:
|
||||
"Build otel-lgtm docker images":
|
||||
runs-on: hostinger
|
||||
steps:
|
||||
-
|
||||
name: Login to Gitea container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.woggioni.net
|
||||
username: woggioni
|
||||
password: ${{ secrets.PUBLISHER_TOKEN }}
|
||||
-
|
||||
name: Build and push otel-lgtm vanilla images
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
builder: multiplatform-builder
|
||||
context: "{{defaultContext}}:otel-lgtm"
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
pull: true
|
||||
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
|
||||
tags: |
|
||||
"gitea.woggioni.net/woggioni/otel-lgtm:latest"
|
||||
"gitea.woggioni.net/woggioni/otel-lgtm:0.0.1"
|
||||
secrets: |
|
||||
GIT_AUTH_TOKEN.github.com=${{ secrets.GH_ACCESS_TOKEN }}
|
||||
build-args: |
|
||||
ALPINE_VERSION=3.24
|
||||
OTELCOL_VERSION=0.154.0
|
||||
Reference in New Issue
Block a user