Skip to content

Commit c3735ae

Browse files
authored
Output message to use Liberty images from icr.io/appcafe (#605)
* Add deprecation notice * Update deprecation notice for latest images
1 parent 7561732 commit c3735ae

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

releases/latest/beta/helpers/build/internal/logger.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ function showLogs() {
1414
exec 1>&3 3>&- 2>&4 4>&-
1515
}
1616

17+
function logDeprecationNotice() {
18+
echo "Deprecation notice: IBM expects the last version of the UBI-based Open Liberty container images in Docker Hub ('openliberty/open-liberty') to be 25.0.0.3. To continue to receive updates and security fixes after 25.0.0.3, you must switch to using the images from the IBM Container Registry (ICR). To switch, simply update 'FROM openliberty/open-liberty' in your Dockerfiles to 'FROM icr.io/appcafe/open-liberty'. The same image tags from Docker Hub are also available in ICR. Ubuntu-based Liberty container images will continue to be available from Docker Hub. For more information, see https://ibm.biz/ol-ubi-containers-dh-deprecation"
19+
}
20+
21+
logDeprecationNotice
22+
1723
main

releases/latest/full/helpers/build/internal/logger.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ function showLogs() {
1414
exec 1>&3 3>&- 2>&4 4>&-
1515
}
1616

17+
function logDeprecationNotice() {
18+
echo "Deprecation notice: IBM expects the last version of the UBI-based Open Liberty container images in Docker Hub ('openliberty/open-liberty') to be 25.0.0.3. To continue to receive updates and security fixes after 25.0.0.3, you must switch to using the images from the IBM Container Registry (ICR). To switch, simply update 'FROM openliberty/open-liberty' in your Dockerfiles to 'FROM icr.io/appcafe/open-liberty'. The same image tags from Docker Hub are also available in ICR. Ubuntu-based Liberty container images will continue to be available from Docker Hub. For more information, see https://ibm.biz/ol-ubi-containers-dh-deprecation"
19+
}
20+
21+
logDeprecationNotice
22+
1723
main

releases/latest/kernel-slim/helpers/build/internal/logger.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ function showLogs() {
1414
exec 1>&3 3>&- 2>&4 4>&-
1515
}
1616

17+
function logDeprecationNotice() {
18+
echo "Deprecation notice: IBM expects the last version of the UBI-based Open Liberty container images in Docker Hub ('openliberty/open-liberty') to be 25.0.0.3. To continue to receive updates and security fixes after 25.0.0.3, you must switch to using the images from the IBM Container Registry (ICR). To switch, simply update 'FROM openliberty/open-liberty' in your Dockerfiles to 'FROM icr.io/appcafe/open-liberty'. The same image tags from Docker Hub are also available in ICR. Ubuntu-based Liberty container images will continue to be available from Docker Hub. For more information, see https://ibm.biz/ol-ubi-containers-dh-deprecation"
19+
}
20+
21+
logDeprecationNotice
22+
1723
main

0 commit comments

Comments
 (0)