From 74ad09d460ca3c3238959d79d8a0fe70ce6ee83f Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Thu, 7 May 2026 11:22:34 +0600 Subject: [PATCH 01/12] test build Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 9 +++- cmd/build-image/main.go | 16 +++++- library/postgres/dhi.json | 73 ++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 3 deletions(-) create mode 100644 library/postgres/dhi.json diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index 2d2304c2a..87e0d56af 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - tag: [18.3-alpine, 18.3-bookworm, 17.9-alpine, 17.9-bookworm, 17.5-alpine, 17.4-alpine, 17.2-alpine, 16.13-alpine, 16.13-bookworm, 16.10-alpine, 16.10-bookworm, 16.9-alpine, 16.8-alpine, 16.6-alpine, 16.4-alpine, 16.1-alpine, 15.17-alpine, 15.17-bookworm, 15.13-alpine, 15.12-alpine, 15.10-alpine, 15.8-alpine, 15.5-alpine, 14.22-alpine, 14.22-bookworm, 14.19-alpine, 14.19-bookworm, 14.18-alpine, 14.17-alpine, 14.15-alpine, 14.13-alpine, 14.10-alpine] + tag: [18.3-bookworm-dhi] steps: - uses: actions/checkout@v4 @@ -68,7 +68,12 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Log in to the DHI registry + uses: docker/login-action@v2 + with: + registry: dhi.io + username: ${{ secrets.TEMP_DOCKER_USER }} + password: ${{ secrets.TEMP_DOCKER_PAT }} # - name: Setup upterm session # uses: lhotari/action-upterm@v1 diff --git a/cmd/build-image/main.go b/cmd/build-image/main.go index ed475aaaf..8126c3255 100644 --- a/cmd/build-image/main.go +++ b/cmd/build-image/main.go @@ -154,6 +154,7 @@ func main() { if b == nil { panic(fmt.Sprintf("%s app.txt is missing tag %s", *name, *tag)) } + klog.Infoln(b.String()) var repoURL string if strings.Contains(libRepoURL, "github.com/"+api.GH_IMG_REPO_OWNER) { repoURL = libRepoURL @@ -449,7 +450,19 @@ func GetFullName(s string) (string, error) { } func FindBlock(dir, name, tag string) (string, *api.Block, error) { - filename := filepath.Join(dir, "library", name, "app.json") + filename := "" + klog.Infoln(tag) + if strings.HasSuffix(tag, "dhi") { + filename = filepath.Join(dir, "library", name, "dhi.json") + } else { + filename = filepath.Join(dir, "library", name, "app.json") + } + klog.Infoln(filename) + return FindBlockWithGivenFile(filename, tag) +} + +func FindBlockWithGivenFile(filename, tag string) (string, *api.Block, error) { + data, err := os.ReadFile(filename) if err != nil { return "", nil, err @@ -466,5 +479,6 @@ func FindBlock(dir, name, tag string) (string, *api.Block, error) { return h.GitRepo, &b, nil } } + return h.GitRepo, nil, nil } diff --git a/library/postgres/dhi.json b/library/postgres/dhi.json new file mode 100644 index 000000000..b99d44484 --- /dev/null +++ b/library/postgres/dhi.json @@ -0,0 +1,73 @@ +{ + "Name": "postgres", + "GitRepo": "https://github.com/docker-library/postgres.git", + "KnownTags": {}, + "Blocks": [ + { + "Tags": [ + "18.3-bookworm-dhi" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "25ec522eff66f10dbd58cff9d77c35504cc2763d", + "Directory": "dhi/18.3/debian", + "File": "Dockerfile" + } + ] +} \ No newline at end of file From d13f1b79483a43ddc4fab754f90de7ae444cbf0e Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Fri, 8 May 2026 18:25:20 +0600 Subject: [PATCH 02/12] update git commit Signed-off-by: souravbiswassanto --- library/postgres/dhi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/postgres/dhi.json b/library/postgres/dhi.json index b99d44484..c414eeac0 100644 --- a/library/postgres/dhi.json +++ b/library/postgres/dhi.json @@ -65,7 +65,7 @@ "File": "" } }, - "GitCommit": "25ec522eff66f10dbd58cff9d77c35504cc2763d", + "GitCommit": "a006835eba50150e15b2c62f7cb50f981e1e8102", "Directory": "dhi/18.3/debian", "File": "Dockerfile" } From cf3d031e5593afd6f3042f0000703cb0be9eb48f Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 11 May 2026 10:13:18 +0600 Subject: [PATCH 03/12] update ci Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index 87e0d56af..d7ec07132 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -27,12 +27,12 @@ jobs: - name: Prepare git env: - GITHUB_USER: 1gtm - GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }} + GITHUB_USER: ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -x - git config --global user.name "1gtm" - git config --global user.email "1gtm@appscode.com" + git config --global user.name "${GITHUB_USER}" + git config --global user.email "${GITHUB_USER}@appscode.com" git config --global \ url."https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com".insteadOf \ "https://github.com" From b813fb7f061f56f4009eb8542f915a27658d72c8 Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 11 May 2026 10:17:49 +0600 Subject: [PATCH 04/12] update permission Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index d7ec07132..7f3ce6461 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -5,6 +5,10 @@ on: - cron: '0 0 */14 * *' workflow_dispatch: +permissions: + contents: read + packages: write + concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true From f00ab5bce6c146e3a5ba76535097d2d0f0ddaf1b Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 11 May 2026 10:26:42 +0600 Subject: [PATCH 05/12] try updating labels Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index 7f3ce6461..8366429c5 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -14,9 +14,21 @@ concurrency: cancel-in-progress: true jobs: + label-detector: + name: Runner Label + runs-on: label-detector + outputs: + runs-on: ${{ steps.detector.outputs.label }} + steps: + - name: Detect Label + id: detector + run: | + echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT + build: name: Build - runs-on: firecracker + needs: label-detector + runs-on: "${{ needs.label-detector.outputs.runs-on }}" strategy: fail-fast: false matrix: From 4848fc205855214cb13cb83cc01e68a6dfbfe911 Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 11 May 2026 11:22:54 +0600 Subject: [PATCH 06/12] runs on ubuntu Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index 8366429c5..6c4a96d08 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -14,21 +14,9 @@ concurrency: cancel-in-progress: true jobs: - label-detector: - name: Runner Label - runs-on: label-detector - outputs: - runs-on: ${{ steps.detector.outputs.label }} - steps: - - name: Detect Label - id: detector - run: | - echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT - build: name: Build - needs: label-detector - runs-on: "${{ needs.label-detector.outputs.runs-on }}" + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: From ff3dada60a792fc852fd580709624825cc528e6c Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 11 May 2026 11:27:53 +0600 Subject: [PATCH 07/12] Add write permission Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index 6c4a96d08..104801306 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -5,10 +5,6 @@ on: - cron: '0 0 */14 * *' workflow_dispatch: -permissions: - contents: read - packages: write - concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true @@ -17,6 +13,9 @@ jobs: build: name: Build runs-on: ubuntu-24.04 + permissions: + contents: write + packages: write strategy: fail-fast: false matrix: From 427bc77106c5015dfc24bcdd975da4d265d56c5f Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Wed, 13 May 2026 15:08:01 +0600 Subject: [PATCH 08/12] update commit Signed-off-by: souravbiswassanto --- library/postgres/dhi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/postgres/dhi.json b/library/postgres/dhi.json index c414eeac0..6c5e3879b 100644 --- a/library/postgres/dhi.json +++ b/library/postgres/dhi.json @@ -65,7 +65,7 @@ "File": "" } }, - "GitCommit": "a006835eba50150e15b2c62f7cb50f981e1e8102", + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", "Directory": "dhi/18.3/debian", "File": "Dockerfile" } From d477c7fef35741fb651ecce6da02b92b0c038f1e Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Wed, 13 May 2026 15:22:14 +0600 Subject: [PATCH 09/12] Add dhi.json and ext.json Signed-off-by: souravbiswassanto --- cmd/build-image/main.go | 8 +- library/postgres/dhi.json | 334 ++++++++++++++++++++++++++++++- library/postgres/ext.json | 403 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 741 insertions(+), 4 deletions(-) create mode 100644 library/postgres/ext.json diff --git a/cmd/build-image/main.go b/cmd/build-image/main.go index 8126c3255..22689c502 100644 --- a/cmd/build-image/main.go +++ b/cmd/build-image/main.go @@ -452,9 +452,13 @@ func GetFullName(s string) (string, error) { func FindBlock(dir, name, tag string) (string, *api.Block, error) { filename := "" klog.Infoln(tag) - if strings.HasSuffix(tag, "dhi") { + suf := strings.Split(tag, "-")[len(strings.Split(tag, "-"))-1] + switch suf { + case "dhi": filename = filepath.Join(dir, "library", name, "dhi.json") - } else { + case "ext": + filename = filepath.Join(dir, "library", name, "ext.json") + default: filename = filepath.Join(dir, "library", name, "app.json") } klog.Infoln(filename) diff --git a/library/postgres/dhi.json b/library/postgres/dhi.json index 6c5e3879b..ebd80825f 100644 --- a/library/postgres/dhi.json +++ b/library/postgres/dhi.json @@ -5,7 +5,271 @@ "Blocks": [ { "Tags": [ - "18.3-bookworm-dhi" + "16.13-alpine-dhi" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "dhi/16.13/alpine", + "File": "Dockerfile" + }, + { + "Tags": [ + "16.13-bookworm-dhi" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "dhi/16.13/bookworm", + "File": "Dockerfile" + }, + { + "Tags": [ + "17.9-alpine-dhi" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "dhi/17.9/alpine", + "File": "Dockerfile" + }, + { + "Tags": [ + "17.9-bookworm-dhi" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "dhi/17.9/bookworm", + "File": "Dockerfile" + }, + { + "Tags": [ + "18.3-alpine-dhi" ], "Architectures": { "amd64": { @@ -66,7 +330,73 @@ } }, "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", - "Directory": "dhi/18.3/debian", + "Directory": "dhi/18.3/alpine", + "File": "Dockerfile" + }, + { + "Tags": [ + "18.3-bookworm-dhi" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "d2c47e08f85e63bf04f4ded353bc3d65e72ff2b8", + "Directory": "dhi/18.3/bookworm", "File": "Dockerfile" } ] diff --git a/library/postgres/ext.json b/library/postgres/ext.json new file mode 100644 index 000000000..6398de2f6 --- /dev/null +++ b/library/postgres/ext.json @@ -0,0 +1,403 @@ +{ + "Name": "postgres", + "GitRepo": "https://github.com/docker-library/postgres.git", + "KnownTags": {}, + "Blocks": [ + { + "Tags": [ + "16.13-alpine-ext" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "ext/16.13/alpine", + "File": "Dockerfile" + }, + { + "Tags": [ + "16.13-bookworm-ext" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "ext/16.13/bookworm", + "File": "Dockerfile" + }, + { + "Tags": [ + "17.9-alpine-ext" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "ext/17.9/alpine", + "File": "Dockerfile" + }, + { + "Tags": [ + "17.9-bookworm-ext" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "ext/17.9/bookworm", + "File": "Dockerfile" + }, + { + "Tags": [ + "18.3-alpine-ext" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "ext/18.3/alpine", + "File": "Dockerfile" + }, + { + "Tags": [ + "18.3-bookworm-ext" + ], + "Architectures": { + "amd64": { + "Architecture": "amd64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v5": { + "Architecture": "arm32v5", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm32v7": { + "Architecture": "arm32v7", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "arm64v8": { + "Architecture": "arm64v8", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "i386": { + "Architecture": "i386", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "ppc64le": { + "Architecture": "ppc64le", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "riscv64": { + "Architecture": "riscv64", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + }, + "s390x": { + "Architecture": "s390x", + "Directory": "", + "GitFetch": "", + "GitCommit": "", + "File": "" + } + }, + "GitCommit": "6447b6c03d212bb4dae55c4d307ceda91c62400e", + "Directory": "ext/18.3/bookworm", + "File": "Dockerfile" + } + ] +} \ No newline at end of file From 2921c4c0b3ed2279da0d970eb888466346bc6f33 Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Fri, 15 May 2026 19:54:11 +0600 Subject: [PATCH 10/12] test dhi and ext Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index c76ebdf4c..13e9f08b6 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - tag: [18.3-bookworm-dhi] + tag: [18.3-bookworm-dhi,18.3-bookworm-ext] steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 From 967cdee8a19f2b093734e839de263826fb157fe9 Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 18 May 2026 09:26:04 +0600 Subject: [PATCH 11/12] test with ubuntu-latest Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index 13e9f08b6..aa03d9839 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -12,7 +12,7 @@ concurrency: jobs: build: name: Build - runs-on: firecracker + runs-on: ubuntu-latest # TODO: Change to firecracker permissions: packages: write strategy: From da851afafda489b01a06c530146a0c4452560789 Mon Sep 17 00:00:00 2001 From: souravbiswassanto Date: Mon, 18 May 2026 09:31:16 +0600 Subject: [PATCH 12/12] update login action Signed-off-by: souravbiswassanto --- .github/workflows/build-postgres.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-postgres.yml b/.github/workflows/build-postgres.yml index aa03d9839..b8c8e1c31 100644 --- a/.github/workflows/build-postgres.yml +++ b/.github/workflows/build-postgres.yml @@ -78,7 +78,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Log in to the DHI registry - uses: docker/login-action@v2 + uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0 with: registry: dhi.io username: ${{ secrets.DOCKERHUB_USERNAME }}