From 111aa6af796322e0c6b2bc3dabb0172b1e4ad25c Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 2 Nov 2023 12:21:01 +0100 Subject: [PATCH] HSEARCH-4674 Switch to IBM registry for DB2 --- .github/dependabot.yml | 4 ++++ .github/hibernate-github-bot.yml | 3 +++ build/container/db2.Dockerfile | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7de30d77e25..9552ce30cd0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,9 @@ registries: username: ${{secrets.DOCKERHUB_USERNAME}} password: ${{secrets.DOCKERHUB_TOKEN}} replaces-base: true + ibm: + type: docker-registry + url: https://icr.io updates: - package-ecosystem: "maven" directory: "/" @@ -109,6 +112,7 @@ updates: - package-ecosystem: "docker" registries: - dockerhub + - ibm # For dependabot to find Docker files they all should be in the same directory. # Dependabot is picking any files that has `dockerfile` in them. directory: "/build/container/" diff --git a/.github/hibernate-github-bot.yml b/.github/hibernate-github-bot.yml index 6cb6acf9092..ecdaaa81213 100644 --- a/.github/hibernate-github-bot.yml +++ b/.github/hibernate-github-bot.yml @@ -5,6 +5,9 @@ jira: # See the `build-dependencies` group in the Dependabot's configuration file - user: dependabot[bot] titlePattern: "Bump the build-dependencies group with \\d+ updates?" + # For package-ecosystem: "docker" updates: + - user: dependabot[bot] + titlePattern: "Bump .+ in /build/container" ignoreFiles: # Git - ".git*" diff --git a/build/container/db2.Dockerfile b/build/container/db2.Dockerfile index b340acf79d4..30e0fa1a7e0 100644 --- a/build/container/db2.Dockerfile +++ b/build/container/db2.Dockerfile @@ -1,3 +1,3 @@ # DB2 -# See https://hub.docker.com/r/ibmcom/db2/tags -FROM docker.io/ibmcom/db2:11.5.8.0 \ No newline at end of file +# See https://icr.io/v2/db2_community/db2/tags/list +FROM icr.io/db2_community/db2:11.5.8.0 \ No newline at end of file