mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-25 17:43:20 -06:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53618b8e55 | ||
|
|
179daa3d14 | ||
|
|
7fe34cd27c | ||
|
|
7b1cc24f2e | ||
|
|
66d4b429cf | ||
|
|
8d201da1a2 | ||
|
|
226ba8b2d0 |
No files matched your search
@@ -1,29 +0,0 @@
|
||||
stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
stage: build
|
||||
timeout: 3h
|
||||
image:
|
||||
name: moby/buildkit:latest
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- |
|
||||
mkdir /root/.docker
|
||||
cat > /root/.docker/config.json <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"https://index.docker.io/v1/": {
|
||||
"auth":"${DOCKER_AUTH}"
|
||||
},
|
||||
"${CI_REGISTRY}": {
|
||||
"username": "${CI_REGISTRY_USER}",
|
||||
"password": "${CI_REGISTRY_PASSWORD}"
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- buildctl-daemonless.sh build --frontend=dockerfile.v0 --local context=$CI_PROJECT_DIR --local dockerfile=$CI_PROJECT_DIR --output type=image,name=docker.io/koehn/postgres-wal-g:14.2-$CI_COMMIT_TAG,push=true --opt build-arg:BASE=14.2 --opt build-arg:WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}') --opt platform=linux/amd64
|
||||
only:
|
||||
- tags
|
||||
|
||||
+5
-2
@@ -1,12 +1,15 @@
|
||||
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=15.2
|
||||
- WALG_RELEASE=v2.0.1
|
||||
- BASE=${CI_COMMIT_TAG:0:4}
|
||||
- WALG_RELEASE=${CI_COMMIT_TAG:5:6}
|
||||
|
||||
Reference in new issue
Block a user