Compare commits

..
Author SHA1 Message Date
Brad Koehn 0283464236 gave up on multi-machine dockerx; fixed docker tag name 2023-11-10 08:11:43 -06:00
Brad Koehn 599b4a7394 setting up key for remote build 2023-11-09 16:51:32 -06:00
Brad Koehn 181d81d8b6 setting up key for remote build 2023-11-09 16:46:20 -06:00
Brad Koehn fe1d076b54 setting up key for remote build 2023-11-09 16:39:19 -06:00
Brad Koehn d644e427bf setting up key for remote build 2023-11-09 16:30:15 -06:00
Brad Koehn 2843231ba3 setting up key for remote build 2023-11-09 16:27:28 -06:00
Brad Koehn d38cf5c191 setting up key for remote build 2023-11-09 16:23:31 -06:00
Brad Koehn aab6a0cbc3 setting up key for remote build 2023-11-09 16:11:44 -06:00
Brad Koehn 3f5f137aac setting up key for remote build 2023-11-09 15:57:01 -06:00
Brad Koehn f1b9fe6c8f setting up key for remote build 2023-11-09 15:53:26 -06:00
Brad Koehn 63777d0241 setting up key for remote build 2023-11-09 15:32:22 -06:00
Brad Koehn ffe01b37ae setting up key for remote build 2023-11-09 15:27:07 -06:00
Brad Koehn 6ccf13f61e setting up key for remote build 2023-11-09 15:17:02 -06:00
Brad Koehn 06627b7c94 setting up key for remote build 2023-11-09 15:10:24 -06:00
Brad Koehn 47a9a80143 setting up key for remote build 2023-11-09 15:08:02 -06:00
Brad Koehn 59d62b6071 use k3s for amd64 builds 2023-11-09 14:58:37 -06:00
Brad Koehn 63e54dbefb removed woodpecker in favor of Gitea Actions 2023-11-04 11:15:50 -05:00
Brad Koehn 353e9afdca removed woodpecker in favor of Gitea Actions 2023-11-04 11:15:16 -05:00
Brad Koehn 25c88d9aee tweaks 2023-11-04 10:43:03 -05:00
5 changed files with 6 additions and 61 deletions

No files matched your search

+5 -5
View File
@@ -16,7 +16,7 @@ jobs:
run: | run: |
echo "::set-output name=postgres::${TAG:0:4}" echo "::set-output name=postgres::${TAG:0:4}"
echo "::set-output name=walg::${TAG:5:6}" echo "::set-output name=walg::${TAG:5:6}"
- name: Install Docker - name: Install Docker
run: curl -fsSL https://get.docker.com | sh run: curl -fsSL https://get.docker.com | sh
@@ -35,11 +35,11 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
needs: versions needs: [versions, ssh]
with: with:
build-args: | build-args: |
BASE="${{ steps.versions.outputs.postgres }}" BASE=${{ steps.versions.outputs.postgres }}
WAL_G="${{ steps.versions.outpus.walg }}" WAL_G=${{ steps.versions.outputs.walg }}
push: true push: true
platforms: linux/amd64,linux/arm64 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 }}
-15
View File
@@ -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}
-38
View File
@@ -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 ]
-2
View File
@@ -1,5 +1,3 @@
[![status-badge](https://woodpecker.koehn.com/api/badges/docker/postgres-wal-g/status.svg)](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/)
+1 -1
View File
@@ -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"