Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/container-validation-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,41 @@ jobs:
run: |
echo '${{ toJson(needs) }}' | jq -e 'to_entries | map(.value.result) | all(. as $result | ["success", "skipped"] | any($result == .))'

operator:
Comment thread
dillon-cullinan marked this conversation as resolved.
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 --platform linux/${{ matrix.platform.arch }} -f Dockerfile -t dynamo-operator:latest .
- name: Docker Tag and Push
Comment thread
dillon-cullinan marked this conversation as resolved.
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'
Comment thread
dillon-cullinan marked this conversation as resolved.
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:
needs: changed-files
if: needs.changed-files.outputs.has_code_changes == 'true'
Expand Down
2 changes: 1 addition & 1 deletion deploy/cloud/operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM golang:1.24 AS base

# Docker buildx automatically provides these
ARG TARGETOS=linux
ARG TARGETARCH=amd64
ARG TARGETARCH

RUN echo "Building for ${TARGETOS}/${TARGETARCH}"

Expand Down
Loading