Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
2f793b45
Unverified
Commit
2f793b45
authored
Oct 16, 2025
by
Dillon Cullinan
Committed by
GitHub
Oct 16, 2025
Browse files
ci: OPS-980: Add operator build and push per-commit (#3620)
Signed-off-by:
Dillon Cullinan
<
dcullinan@nvidia.com
>
parent
9f310225
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
2 deletions
+40
-2
.github/workflows/container-validation-backends.yml
.github/workflows/container-validation-backends.yml
+39
-1
deploy/cloud/operator/Dockerfile
deploy/cloud/operator/Dockerfile
+1
-1
No files found.
.github/workflows/container-validation-backends.yml
View file @
2f793b45
...
@@ -30,13 +30,51 @@ jobs:
...
@@ -30,13 +30,51 @@ jobs:
backend-status-check
:
backend-status-check
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
[
vllm
,
sglang
,
trtllm
]
needs
:
[
vllm
,
sglang
,
trtllm
,
operator
]
if
:
always()
if
:
always()
steps
:
steps
:
-
name
:
"
Check
all
dependent
jobs"
-
name
:
"
Check
all
dependent
jobs"
run
:
|
run
:
|
echo '${{ toJson(needs) }}' | jq -e 'to_entries | map(.value.result) | all(. as $result | ["success", "skipped"] | any($result == .))'
echo '${{ toJson(needs) }}' | jq -e 'to_entries | map(.value.result) | all(. as $result | ["success", "skipped"] | any($result == .))'
operator
:
needs
:
changed-files
if
:
needs.changed-files.outputs.has_code_changes == 'true'
strategy
:
fail-fast
:
false
matrix
:
platform
:
-
{
arch
:
amd64
,
runner
:
cpu-amd-m5-2xlarge
}
-
{
arch
:
arm64
,
runner
:
cpu-arm-r8g-4xlarge
}
name
:
operator (${{ matrix.platform.arch }})
runs-on
:
${{ matrix.platform.runner }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
# v4.3.0
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v3
-
name
:
Build Container
id
:
build-image
shell
:
bash
run
:
|
cd deploy/cloud/operator
docker buildx build --load \
--platform linux/${{ matrix.platform.arch }} \
-f Dockerfile \
-t dynamo-operator:latest .
-
name
:
Docker Tag and Push
uses
:
./.github/actions/docker-tag-push
with
:
local_image
:
dynamo-operator:latest
push_tag
:
ai-dynamo/dynamo:${{ github.sha }}-operator-${{ matrix.platform.arch }}
aws_push
:
'
false'
azure_push
:
'
true'
aws_account_id
:
${{ secrets.AWS_ACCOUNT_ID }}
aws_default_region
:
${{ secrets.AWS_DEFAULT_REGION }}
azure_acr_hostname
:
${{ secrets.AZURE_ACR_HOSTNAME }}
azure_acr_user
:
${{ secrets.AZURE_ACR_USER }}
azure_acr_password
:
${{ secrets.AZURE_ACR_PASSWORD }}
vllm
:
vllm
:
needs
:
changed-files
needs
:
changed-files
if
:
needs.changed-files.outputs.has_code_changes == 'true'
if
:
needs.changed-files.outputs.has_code_changes == 'true'
...
...
deploy/cloud/operator/Dockerfile
View file @
2f793b45
...
@@ -6,7 +6,7 @@ FROM golang:1.24 AS base
...
@@ -6,7 +6,7 @@ FROM golang:1.24 AS base
# Docker buildx automatically provides these
# Docker buildx automatically provides these
ARG
TARGETOS=linux
ARG
TARGETOS=linux
ARG
TARGETARCH
=amd64
ARG
TARGETARCH
RUN
echo
"Building for
${
TARGETOS
}
/
${
TARGETARCH
}
"
RUN
echo
"Building for
${
TARGETOS
}
/
${
TARGETARCH
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment