mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-25 17:43:20 -06:00
gitlab buildkit tweaks
This commit is contained in:
1 parent
888a8e06bf
commit
808d390383
1 file changed
+1
-2
+1
-2
@@ -7,7 +7,6 @@ build:
|
|||||||
name: moby/buildkit:latest
|
name: moby/buildkit:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- buildkitd & sleep 5
|
|
||||||
- |
|
- |
|
||||||
mkdir /root/.docker
|
mkdir /root/.docker
|
||||||
cat > /root/.docker/config.json <<EOF
|
cat > /root/.docker/config.json <<EOF
|
||||||
@@ -23,7 +22,7 @@ build:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
- buildctl 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.0-$CI_COMMIT_TAG,push=true --opt build-arg:BASE=14.0 --opt build-arg:WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
|
- 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.0-$CI_COMMIT_TAG,push=true --opt build-arg:BASE=14.0 --opt build-arg:WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
Reference in new issue
Block a user