forked from llm-d/llm-d-inference-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (35 loc) · 1.07 KB
/
ci-dev.yaml
File metadata and controls
39 lines (35 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI - Dev - Docker Container Image
on:
push:
branches:
- main
- 'release-*'
workflow_dispatch:
jobs:
set-params:
runs-on: ubuntu-latest
outputs:
project_name: ${{ steps.version.outputs.project_name }}
sidecar_name: ${{ steps.version.outputs.sidecar_name }}
tag: ${{ steps.tag.outputs.tag }}
steps:
- name: Set image names
id: version
run: |
repo="${GITHUB_REPOSITORY##*/}"
echo "project_name=${repo}-dev" >> "$GITHUB_OUTPUT"
echo "sidecar_name=llm-d-routing-sidecar-dev" >> "$GITHUB_OUTPUT"
- name: Set branch name as tag
id: tag
run: |
echo "tag=${GITHUB_REF_NAME}" >> "$GITHUB_OUTPUT"
build-and-push:
needs: set-params
uses: ./.github/workflows/ci-build-images.yaml
with:
epp-image-name: ${{ needs.set-params.outputs.project_name }}
sidecar-image-name: ${{ needs.set-params.outputs.sidecar_name }}
tag: ${{ needs.set-params.outputs.tag }}
prerelease: "true"
secrets:
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}