mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2023-10-20 22:33:52 -05:00
trying buildkit
This commit is contained in:
+3
-3
@@ -4,11 +4,11 @@ stages:
|
||||
build:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:v1.7.0-debug
|
||||
name: moby/buildkit:latest
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- |
|
||||
cat > /kaniko/.docker/config.json <<EOF
|
||||
cat > /root/.docker/config.json <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"https://index.docker.io/v1/": {
|
||||
@@ -21,7 +21,7 @@ build:
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:14.0-$CI_COMMIT_TAG --build-arg BASE=14.0 --build-arg WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
|
||||
- buildctl build --frontend=dockerfile.v0 --local context=$CI_PROJECT_DIR --local dockerfile=$CI_PROJECT_DIR/Dockerfile --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:
|
||||
- tags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user