forked from llm-d/llm-d-router
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.12 KB
/
Copy pathci-dev.yaml
File metadata and controls
44 lines (38 loc) · 1.12 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
40
41
42
43
name: CI - Dev - Docker Container Image
on:
push:
branches:
- main
- 'release-*'
workflow_dispatch:
permissions:
contents: read
packages: write
security-events: write
jobs:
set-params:
runs-on: ubuntu-latest
outputs:
epp_name: ${{ steps.version.outputs.epp_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 "epp_name=${repo}-endpoint-picker-dev" >> "$GITHUB_OUTPUT"
echo "sidecar_name=${repo}-disagg-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.epp_name }}
sidecar-image-name: ${{ needs.set-params.outputs.sidecar_name }}
tag: ${{ needs.set-params.outputs.tag }}
prerelease: true
chart-suffix: "-dev"