Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
FEAT: Swap to Buildah from Kainko
Browse files Browse the repository at this point in the history
GoogleContainerTools/kaniko#786

Signed-off-by: anthr76 <hello@anthonyrabbito.com>
  • Loading branch information
anthr76 committed Jun 11, 2021
1 parent 9f105b8 commit 2cf3384
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ stages:
- 📦 build
- 🚀 deploy


build:
stage: 📦 build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
name: quay.io/buildah/stable:v1.21.0
before_script:
- echo "$REG_AUTH_JSON" > /kaniko/.docker/config.json
- echo "$REG_AUTH_JSON" > /run/containers/$UID/auth.json
script:
- /kaniko/executor --context $CI_PROJECT_DIR/$CONTAINER_ROOT --dockerfile $CI_PROJECT_DIR/$CONTAINER_ROOT/Containerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- buildah bud --format docker -f $CI_PROJECT_DIR/$CONTAINER_ROOT/Containerfile -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG $CONTAINER_ROOT
after_script:
- buildah push
only:
- branches
parallel:
Expand All @@ -32,4 +32,4 @@ release:
- semantic-release
only:
- master
- branches
- branches

0 comments on commit 2cf3384

Please sign in to comment.