31 lines
741 B
YAML
31 lines
741 B
YAML
name: ci
|
|
|
|
env:
|
|
version: v1.9
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions: write-all
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: host
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Login to Docker Hub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.h2-invent.com
|
|
username: ${{ secrets.FORGEJO_ACTION_PACKAGE_RW_USER }}
|
|
password: ${{ secrets.FORGEJO_ACTION_PACKAGE_RW_KEY }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
tags: git.h2-invent.com/meetling/livekit-egress:${{env.VERSION}},git.h2-invent.com/meetling/livekit-egress:latest
|
|
build-args: VERSION=${{env.VERSION}}
|