Files
qdrant/.github/workflows/dev-docker-image-build.yml
tellet-q 820ea5a8a9 Use common actions pattern in workflows (#6061)
* Use common actions pattern

* Update gpu workflow
2025-03-21 11:41:50 +01:00

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 }}