Skip to content

Commit

Permalink
use script to run a command inside image
Browse files Browse the repository at this point in the history
even if entrypoint is already defined
  • Loading branch information
nqb committed Nov 28, 2022
1 parent a617c20 commit eea8c63
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,24 +281,27 @@ variables:
.build_img_container_job_dev:
stage: build_img_container
dependencies: []
image:
name: ${KANIKOBUILD_IMG}:${CI_COMMIT_REF_SLUG}
image: ${KANIKOBUILD_IMG}:${CI_COMMIT_REF_SLUG}
script:
- /bin/kanikobuild
tags:
- docker

.build_img_container_job_br_maint:
stage: build_img_container
dependencies: []
image:
name: ${KANIKOBUILD_IMG}:${CI_COMMIT_REF_SLUG}
image: ${KANIKOBUILD_IMG}:${CI_COMMIT_REF_SLUG}
script:
- /bin/kanikobuild
tags:
- docker

.build_img_container_job_rel:
stage: build_img_container
dependencies: []
image:
name: ${KANIKOBUILD_IMG}:${CI_COMMIT_TAG}
image: ${KANIKOBUILD_IMG}:${CI_COMMIT_TAG}
script:
- /bin/kanikobuild
tags:
- docker

Expand Down

0 comments on commit eea8c63

Please sign in to comment.