Skip to content

Commit 37e90d6

Browse files
committed
fix pkg-latest to use latest base image
1 parent 94377aa commit 37e90d6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.daemonless/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build:
1818
containerfile: Containerfile.pkg
1919
args:
2020
PG_VERSION: "14"
21-
BASE_VERSION: "15"
21+
BASE_VERSION: "15-latest"
2222
- tag: "17"
2323
pkg_name: postgresql17-server
2424
containerfile: Containerfile.pkg
@@ -32,5 +32,5 @@ build:
3232
containerfile: Containerfile.pkg
3333
args:
3434
PG_VERSION: "17"
35-
BASE_VERSION: "15"
35+
BASE_VERSION: "15-latest"
3636
aliases: ["pkg-latest"]

.woodpecker.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Woodpecker CI configuration (Simplified)
1+
# Woodpecker CI configuration (dbuild pipeline)
22
steps:
33
- name: build
44
image: /bin/sh
@@ -8,8 +8,8 @@ steps:
88
GITHUB_ACTOR:
99
from_secret: GITHUB_USER
1010
commands:
11-
- fetch -qo woodpecker-build.sh "https://raw.githubusercontent.com/daemonless/daemonless/main/scripts/woodpecker-build.sh"
12-
- sh woodpecker-build.sh postgres
11+
- fetch -qo dbuild-ci.sh "https://raw.githubusercontent.com/daemonless/dbuild/v2/dbuild-ci.sh"
12+
- sh dbuild-ci.sh
1313

1414
when:
1515
- event: push

Containerfile.pkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN chmod +x /etc/services.d/*/run /etc/cont-init.d/* /healthz 2>/dev/null || tr
5151
# Store PG version for scripts
5252
RUN mkdir -p /var/db/postgres && echo "${PG_VERSION}" > /var/db/postgres/pg_version
5353

54-
# Extract package version for tagging (e.g., 17.7 or 14.20)
54+
# Extract package version for tagging (e.g., 17.7_1 or 14.20_1)
5555
RUN mkdir -p /app && \
5656
pkg query '%v' postgresql${PG_VERSION}-server > /app/version
5757

0 commit comments

Comments
 (0)