mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-27 09:43:20 -06:00
Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f5f137aac | ||
|
|
f1b9fe6c8f | ||
|
|
63777d0241 | ||
|
|
ffe01b37ae | ||
|
|
6ccf13f61e | ||
|
|
06627b7c94 | ||
|
|
47a9a80143 | ||
|
|
59d62b6071 | ||
|
|
63e54dbefb | ||
|
|
353e9afdca |
No files matched your search
@@ -23,8 +23,19 @@ jobs:
|
|||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
- name: Set Up SSH
|
||||||
|
uses: MrSquaare/ssh-setup-action@7bfdda6ef6839504e3a5b2625ad971b17461a0db
|
||||||
|
with:
|
||||||
|
host: k3s-sd-03.koehn.com
|
||||||
|
private-key: ${{ secrets.SSH_KEY }}
|
||||||
|
private-key-name: k3s-sd-03
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
|
append: |
|
||||||
|
- name: k3s-sd-03
|
||||||
|
endpoint: ssh://root@k3s-sd-03.koehn.com
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|||||||
@@ -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
|
# Postgres WAL-G
|
||||||
|
|
||||||
This image extends the stock [Postgres Image](https://hub.docker.com/_/postgres/)
|
This image extends the stock [Postgres Image](https://hub.docker.com/_/postgres/)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ IMAGE_NAME=koehn/postgres-wal-g
|
|||||||
build_image() {
|
build_image() {
|
||||||
BASE=$1
|
BASE=$1
|
||||||
IMAGE=$IMAGE_NAME:$BASE-$WALG_VERSION
|
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"
|
build_image "$PG_VERSION" "$WALG_VERSION"
|
||||||
|
|||||||
Reference in new issue
Block a user