mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-05 09:31:05 -05:00
33 lines
925 B
YAML
33 lines
925 B
YAML
name: Build and push a branch image to ghcr
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- dev
|
|
repository_dispatch:
|
|
types: [benchmark-trigger-image-build]
|
|
|
|
jobs:
|
|
branch-build-and-push:
|
|
if: ${{ !github.event.client_payload.triggered }}
|
|
runs-on: [self-hosted, linux, x64]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.ref.name }}
|
|
- uses: ./.github/workflows/actions/branch-build-and-push
|
|
env:
|
|
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
triggered-branch-build-and-push:
|
|
if: ${{ github.event.client_payload.triggered }}
|
|
runs-on: [self-hosted, linux, x64]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.event.client_payload.version }}
|
|
- uses: ./.github/workflows/actions/branch-build-and-push
|
|
env:
|
|
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|