Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
Update Dockerfile

Revert "Update .gitlab-ci.yml"

This reverts commit 2997b0d.

Revert "Update Dockerfile"

This reverts commit 2f1f06d.

Update .gitlab-ci.yml
  • Loading branch information
ChandonPierre committed Jan 19, 2024
1 parent 00625aa commit bc6a86c
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ build-standard:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
script: |-
/kaniko/executor \
$KANIKO_ADDTL_ARGS \
--context ${CI_PROJECT_DIR} \
--build-arg DEBUG_IMAGE=${DEBUG_IMAGE} \
--dockerfile $DOCKERFILE \
Expand Down Expand Up @@ -60,9 +59,8 @@ build-debug:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
script: |-
/kaniko/executor \
$KANIKO_ADDTL_ARGS \
--context ${CI_PROJECT_DIR} \
--build-arg DEBUG_IMAGE=${DEBUG_IMAGE} \
--build-arg=DEBUG_IMAGE \
--dockerfile $DOCKERFILE \
--destination $REF_IMAGE \
--destination $FIXED_IMAGE
Expand Down Expand Up @@ -110,10 +108,9 @@ release-standard:
- export RELEASE_IMAGE=$CI_REGISTRY_IMAGE:$BUILD_VERSION
script: |-
/kaniko/executor \
$KANIKO_ADDTL_ARGS \
--context . \
--context ${CI_PROJECT_DIR} \
--dockerfile $DOCKERFILE \
--build-arg DEBUG_IMAGE=${DEBUG_IMAGE} \
--build-arg=DEBUG_IMAGE \
--destination $RELEASE_IMAGE \
--destination $LATEST_IMAGE
Expand All @@ -139,9 +136,8 @@ release-debug:
- export RELEASE_IMAGE=$CI_REGISTRY_IMAGE:$BUILD_VERSION-debug
script: |-
/kaniko/executor \
$KANIKO_ADDTL_ARGS \
--context . \
--context ${CI_PROJECT_DIR} \
--dockerfile $DOCKERFILE \
--build-arg DEBUG_IMAGE=${DEBUG_IMAGE} \
--build-arg=DEBUG_IMAGE \
--destination $RELEASE_IMAGE \
--destination $LATEST_IMAGE

0 comments on commit bc6a86c

Please sign in to comment.