diff --git a/Dockerfile b/Dockerfile index 8392c98..a3dcb02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM gcr.io/distroless/static:nonroot +FROM gcr.io/distroless/static:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0 +ARG TARGETARCH WORKDIR / -COPY bin/manager-linux.amd64 /manager +COPY bin/manager-linux.${TARGETARCH} /manager USER 65532:65532 -ENTRYPOINT ["/manager"] +ENTRYPOINT ["/manager"] \ No newline at end of file diff --git a/VERSION b/VERSION index f7fbf5e..6425bba 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.7.0-dev \ No newline at end of file +v0.7.1 \ No newline at end of file diff --git a/charts/metrics-operator/Chart.yaml b/charts/metrics-operator/Chart.yaml index b879a20..6cb6222 100644 --- a/charts/metrics-operator/Chart.yaml +++ b/charts/metrics-operator/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: metrics-operator description: A Helm chart for the metrics-operator type: application -version: v0.7.0 -appVersion: v0.7.0 +version: v0.7.1 +appVersion: v0.7.1 diff --git a/charts/metrics-operator/values.yaml b/charts/metrics-operator/values.yaml index 6fa260e..b8f34df 100644 --- a/charts/metrics-operator/values.yaml +++ b/charts/metrics-operator/values.yaml @@ -5,10 +5,10 @@ replicaCount: 1 image: - repository: ghcr.io/openmcp-project/github.com/openmcp-project/metrics-operator/images/metrics-operator + repository: ghcr.io/openmcp-project/images/metrics-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: v0.7.0 + tag: v0.7.1 imagePullSecrets: [] nameOverride: "" diff --git a/charts/metrics-operator/values.yaml.tpl b/charts/metrics-operator/values.yaml.tpl index e2a7f54..4da530a 100644 --- a/charts/metrics-operator/values.yaml.tpl +++ b/charts/metrics-operator/values.yaml.tpl @@ -5,7 +5,7 @@ replicaCount: 1 image: - repository: ghcr.io/openmcp-project/github.com/openmcp-project/metrics-operator/images/metrics-operator + repository: ghcr.io/openmcp-project/images/metrics-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: $OPERATOR_VERSION diff --git a/component-constructor.yaml b/component-constructor.yaml index 0aa62ea..cd49fcc 100644 --- a/component-constructor.yaml +++ b/component-constructor.yaml @@ -10,11 +10,12 @@ components: type: helm path: ./charts/${COMPONENT_NAME} repository: charts/${COMPONENT_NAME} - + - name: ${COMPONENT_NAME}-image type: ociImage input: type: dockermulti repository: images/${COMPONENT_NAME} variants: - - "${COMPONENT_REPO_PREFIX}:${VERSION}" \ No newline at end of file + - "${COMPONENT_REPO_PREFIX}:${VERSION}-linux-amd64" + - "${COMPONENT_REPO_PREFIX}:${VERSION}-linux-arm64"