From 53a48424b828a8e133059cba997e14515e47e8d5 Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Tue, 10 Mar 2026 08:59:57 -0600 Subject: [PATCH] different image names --- .github/workflows/pipeline.yml | 6 ++++-- kubernetes/statefulset.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 991e3b1..2b52c1a 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -22,9 +22,11 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push backend image + env: + IMAGE_NAME: ${{ vars.IMAGE_NAME }} run: | - docker build -q -t alexmickelson/ai-liveview:$GITHUB_RUN_NUMBER . - docker push -q alexmickelson/ai-liveview:$GITHUB_RUN_NUMBER + docker build -q -t $IMAGE_NAME:$GITHUB_RUN_NUMBER . + docker push -q $IMAGE_NAME:$GITHUB_RUN_NUMBER - name: Deploy to Kubernetes env: diff --git a/kubernetes/statefulset.yml b/kubernetes/statefulset.yml index 57fcf8d..327b8ff 100644 --- a/kubernetes/statefulset.yml +++ b/kubernetes/statefulset.yml @@ -21,7 +21,7 @@ spec: spec: containers: - name: ai-ha-elixir - image: alexmickelson/ai-liveview:$GITHUB_RUN_NUMBER + image: alexmickelson/$IMAGE_NAME:$GITHUB_RUN_NUMBER ports: - containerPort: 4000 name: http