Files
qdrant/.github/workflows/dev-docker-image-build.yml
dependabot[bot] 111de40297 build(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#9273)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](de0fac2e45...df4cb1c069)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 14:58:26 +02:00

41 lines
1.5 KiB
YAML

name: Build and push a branch image to ghcr
on:
workflow_dispatch:
push:
branches:
- dev
- master
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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.ref_name }}
- uses: ./.github/actions/branch-build-and-push
with:
ghcr-password: ${{ secrets.GITHUB_TOKEN }}
dockerhub-password: ${{ secrets.DOCKERHUB_TOKEN }}
push-to-ghcr: true
# Only push 'dev' and 'master' branch to Docker Hub
push-to-dockerhub: ${{ github.ref_name == 'dev' || github.ref_name == 'master' }}
# Enable `staging` feature for all branches except master (tags are excluded by ref_type check)
staging-build: ${{ github.ref_type == 'branch' && github.ref_name != 'master' }}
triggered-branch-build-and-push:
if: ${{ github.event.client_payload.triggered }}
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.client_payload.version }}
- uses: ./.github/actions/branch-build-and-push
with:
ghcr-password: ${{ secrets.GITHUB_TOKEN }}
push-to-ghcr: true