mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-22 11:47:10 +00:00
fix: container naming
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
6
.github/workflows/build_container.yaml
vendored
6
.github/workflows/build_container.yaml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
echo "NON_FORKED_AND_NON_ROBOT_RUN=$NON_FORKED_AND_NON_ROBOT_RUN" >> "$GITHUB_OUTPUT"
|
echo "NON_FORKED_AND_NON_ROBOT_RUN=$NON_FORKED_AND_NON_ROBOT_RUN" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
build_image:
|
build_image:
|
||||||
name: Build Docker Image
|
name: Build Container Image
|
||||||
needs: prepare_ci_run
|
needs: prepare_ci_run
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
|
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
|
||||||
BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }}
|
BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }}
|
||||||
GIT_SHA: ${{ needs.prepare_ci_run.outputs.GIT_SHA }}
|
GIT_SHA: ${{ needs.prepare_ci_run.outputs.GIT_SHA }}
|
||||||
RELEASE_REGISTRY: "localhost:5000/podtato-head"
|
RELEASE_REGISTRY: "localhost:5000/k8sgpt"
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -138,7 +138,7 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
target: production
|
target: production
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/podtato-head/${{ env.IMAGE_NAME }}:dev-${{ env.DATETIME }}
|
ghcr.io/k8sgpt-ai/${{ env.IMAGE_NAME }}:dev-${{ env.DATETIME }}
|
||||||
build-args: |
|
build-args: |
|
||||||
GIT_HASH=${{ env.GIT_SHA }}
|
GIT_HASH=${{ env.GIT_SHA }}
|
||||||
RELEASE_VERSION=dev-${{ env.DATETIME }}
|
RELEASE_VERSION=dev-${{ env.DATETIME }}
|
||||||
|
Reference in New Issue
Block a user