mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-25 09:43:20 -06:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83459c3eee | ||
|
|
e3cee34644 | ||
|
|
6ce0b371be | ||
|
|
f92168528e | ||
|
|
10af957331 | ||
|
|
d8e1e1f39b | ||
|
|
56aa0e2ca2 | ||
|
|
30f3363b8e | ||
|
|
72c13d458e | ||
|
|
6f6dd9bca6 | ||
|
|
fc6bb76110 | ||
|
|
d3feaff8e1 | ||
|
|
e779a43c2f | ||
|
|
cc2096c4b9 | ||
|
|
a554117ba1 | ||
|
|
a08e138569 | ||
|
|
18b0d9b0ee | ||
|
|
5b59617f84 |
No files matched your search
+3
-3
@@ -8,18 +8,18 @@ build-9.6:
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- echo "{\"auths\":{\"index.docker.io\":{\"username\":\"$DOCKER_LOGIN\",\"password\":\"$DOCKER_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:9.6-$CI_COMMIT_TAG --build-arg BASE=9.6
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:9.6-$CI_COMMIT_TAG --build-arg BASE=9.6 --build-arg WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
|
||||
only:
|
||||
- tags
|
||||
|
||||
build-11.1:
|
||||
build-12:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- echo "{\"auths\":{\"index.docker.io\":{\"username\":\"$DOCKER_LOGIN\",\"password\":\"$DOCKER_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:11.1-$CI_COMMIT_TAG --build-arg BASE=11.1
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:12.1-$CI_COMMIT_TAG --build-arg BASE=12.1 --build-arg WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
|
||||
only:
|
||||
- tags
|
||||
|
||||
+3
-1
@@ -2,9 +2,11 @@ ARG BASE
|
||||
|
||||
FROM postgres:$BASE
|
||||
|
||||
ARG WALG_RELEASE=v0.2.9
|
||||
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update -qq && \
|
||||
apt-get install -qqy curl ca-certificates vim && \
|
||||
cd /usr/local/bin && curl -L https://github.com/wal-g/wal-g/releases/download/v0.2.2/wal-g.linux-amd64.tar.gz | tar xzf -
|
||||
cd /usr/local/bin && curl -L https://github.com/wal-g/wal-g/releases/download/$WALG_RELEASE/wal-g.linux-amd64.tar.gz | tar xzf -
|
||||
|
||||
COPY wal-g /wal-g
|
||||
@@ -44,5 +44,5 @@ If you start your recovered backup, be sure to turn `archive_mode = off` to avoi
|
||||
pushing additional WAL files to S3!
|
||||
|
||||
## Postgres Versions
|
||||
Currently I build for Postgres 9.6 and Postgres 11. Be advised that 9.6 is the
|
||||
Currently I build for Postgres 9.6 and Postgres 12. Be advised that 9.6 is the
|
||||
earliest version that WAL-G supports.
|
||||
Reference in new issue
Block a user