Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release Build

on:
push:
tags: ["v*"]

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
steps:
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v3

- name: Log in to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push release image
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.release
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }}
build-args: |
OLR_VERSION=${{ github.ref_name }}
UIDOLR=1001
GIDOLR=1001
GIDORA=54322
WITHORACLE=1
WITHKAFKA=1
WITHPROTOBUF=1
WITHPROMETHEUS=1
Loading