mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-27 09:43:20 -06:00
Compare commits
19
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
caa0e988b1 | ||
|
|
0283464236 | ||
|
|
599b4a7394 | ||
|
|
181d81d8b6 | ||
|
|
fe1d076b54 | ||
|
|
d644e427bf | ||
|
|
2843231ba3 | ||
|
|
d38cf5c191 | ||
|
|
aab6a0cbc3 | ||
|
|
3f5f137aac | ||
|
|
f1b9fe6c8f | ||
|
|
63777d0241 | ||
|
|
ffe01b37ae | ||
|
|
6ccf13f61e | ||
|
|
06627b7c94 | ||
|
|
47a9a80143 | ||
|
|
59d62b6071 | ||
|
|
63e54dbefb | ||
|
|
353e9afdca |
No files matched your search
@@ -16,7 +16,7 @@ jobs:
|
||||
run: |
|
||||
echo "::set-output name=postgres::${TAG:0:4}"
|
||||
echo "::set-output name=walg::${TAG:5:6}"
|
||||
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
|
||||
@@ -35,11 +35,11 @@ jobs:
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
needs: versions
|
||||
needs: [versions, ssh]
|
||||
with:
|
||||
build-args: |
|
||||
BASE=${{ steps.versions.outputs.postgres }}
|
||||
WAL_G=${{ steps.versions.outputs.walg }}
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: git.koehn.com/docker/postgres-wal-g:${{ steps.versions.outputs.postgres }}-${{ steps.versions.outputs.walg }}
|
||||
tags: git.koehn.com/docker/postgres-wal-g:${{ gitea.ref_name }}
|
||||
@@ -1,15 +0,0 @@
|
||||
pipeline:
|
||||
build-image:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
when:
|
||||
event: tag
|
||||
secrets: [ docker_username, docker_password ]
|
||||
settings:
|
||||
repo: koehn/postgres-wal-g
|
||||
tag: ${CI_COMMIT_TAG}
|
||||
platforms: linux/amd64
|
||||
mtu: 1300
|
||||
build_args:
|
||||
- BASE=${CI_COMMIT_TAG:0:4}
|
||||
- WALG_RELEASE=${CI_COMMIT_TAG:5:6}
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
when:
|
||||
event: cron
|
||||
cron: "check-base-image"
|
||||
|
||||
pipeline:
|
||||
check-if-base-image-changed:
|
||||
image: git.koehn.com/docker/postgres-wal-g-build-checker:v0.0.1
|
||||
settings:
|
||||
base: postgres:15.2
|
||||
image: koehn/postgres-wal-g
|
||||
platforms: linux/amd64
|
||||
failure: ignore
|
||||
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
group: rebuild
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: koehn/postgres-wal-g
|
||||
platforms: linux/amd64
|
||||
when:
|
||||
status: [ failure ]
|
||||
|
||||
notify:
|
||||
image: plugins/matrix
|
||||
secrets: [matrix_password, matrix_accesstoken]
|
||||
group: rebuild
|
||||
settings:
|
||||
homeserver: https://koehn.com
|
||||
roomid: "!SxdrFDKduRfxciYhEc:koehn.com"
|
||||
username: woodpecker
|
||||
password:
|
||||
from_secret: matrix_password
|
||||
accesstoken:
|
||||
from_secret: matrix_accesstoken
|
||||
template: "The postgres-wal-g image is out of date and needs to be rebuilt."
|
||||
when:
|
||||
status: [ failure ]
|
||||
@@ -1,5 +1,3 @@
|
||||
[](https://woodpecker.koehn.com/docker/postgres-wal-g)
|
||||
|
||||
# Postgres WAL-G
|
||||
|
||||
This image extends the stock [Postgres Image](https://hub.docker.com/_/postgres/)
|
||||
|
||||
@@ -12,7 +12,7 @@ IMAGE_NAME=koehn/postgres-wal-g
|
||||
build_image() {
|
||||
BASE=$1
|
||||
IMAGE=$IMAGE_NAME:$BASE-$WALG_VERSION
|
||||
docker buildx build -t $IMAGE --push . --build-arg BASE=$PG_VERSION --build-arg WALG_RELEASE=$WALG_VERSION --ulimit memlock=16384:16384 --platform linux/amd64,linux/arm64
|
||||
docker buildx build -t $IMAGE --push . --build-arg BASE=$PG_VERSION --build-arg WALG_RELEASE=$WALG_VERSION --ulimit memlock=16384:16384 --platform linux/amd64,linux/arm64 --builder multiarch
|
||||
}
|
||||
|
||||
build_image "$PG_VERSION" "$WALG_VERSION"
|
||||
|
||||
Reference in new issue
Block a user