forked from openshift/cloud-provider-powervs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: <carry>: Updating ose-powervs-cloud-controller-manager-cont…
…ainer image to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/9dc2a375bf335e7e4e3d7e75abc5c3bdbb0c0e98/images/ose-powervs-cloud-controller-manager.yml
- Loading branch information
AOS Automation Release Team
committed
Nov 28, 2023
1 parent
edcc4dc
commit c6a7d3f
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build_root_image: | ||
name: release | ||
namespace: openshift | ||
tag: rhel-8-release-golang-1.20-openshift-4.15 | ||
tag: rhel-9-release-golang-1.20-openshift-4.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Build IBM cloud controller manager binary | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS ccm-builder | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.15 AS ccm-builder | ||
WORKDIR /build | ||
COPY . . | ||
RUN CGO_ENABLED=0 go build -ldflags "-s -w" -o ibm-cloud-controller-manager . | ||
|
||
# Assemble the final image | ||
FROM registry.ci.openshift.org/ocp/4.15:base | ||
FROM registry.ci.openshift.org/ocp/4.15:base-rhel9 | ||
LABEL description="IBM Cloud Controller Manager" | ||
COPY --from=ccm-builder /build/ibm-cloud-controller-manager /bin/ibm-cloud-controller-manager | ||
ENTRYPOINT [ "/bin/ibm-cloud-controller-manager" ] |