Skip to content

Commit

Permalink
feat: Apply comments from #109
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Feb 15, 2023
1 parent 51f672d commit 9f35096
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci-templates/gitlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ where:
- `$CAPELLA_VERSION` is the semantic Capella version, e.g., `6.0.0` or `5.2.0`
- `$CAPELLA_DOCKER_IMAGES_REVISION` is the revision of this Github repository.

- All characters matching the regex `[^a-zA-Z0-9.]` will be replaces with `-`
- Any branch or tag name is supported as revision
- All characters matching the regex `[^a-zA-Z0-9.]` will be replaces with `-`

- `$GITLAB_IMAGE_BUILDER_REVISION` is the revision of the Gitlab repository, where the Gitlab CI template is included.

Expand Down
11 changes: 7 additions & 4 deletions ci-templates/gitlab/image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ base:
before_script:
- *normalizeTag
variables:
BASE_IMAGE: $DOCKER_REGISTRY/base
BASE_IMAGE: debian:bullseye
IMAGE: $DOCKER_REGISTRY/base2
script:
- *prepare
Expand Down Expand Up @@ -195,7 +195,8 @@ t4c/client/base:
docker build $DOCKER_BUILD_ARGS \
-t $DOCKER_REGISTRY/t4c/client/base:$DOCKER_TAG \
--build-arg CAPELLA_VERSION=$CAPELLA_VERSION \
--build-arg BASE_IMAGE=$BASE_IMAGE t4c
--build-arg BASE_IMAGE=$BASE_IMAGE \
t4c
- *push

t4c/client/backup:
Expand All @@ -215,7 +216,8 @@ t4c/client/backup:
- |
docker build $DOCKER_BUILD_ARGS \
-t $DOCKER_REGISTRY/t4c/client/backup:$DOCKER_TAG \
--build-arg BASE_IMAGE=$BASE_IMAGE backups
--build-arg BASE_IMAGE=$BASE_IMAGE \
backups
- *push

t4c/client/exporter:
Expand Down Expand Up @@ -370,7 +372,8 @@ t4c/client/ease:
docker build $DOCKER_BUILD_ARGS \
-t $DOCKER_REGISTRY/t4c/client/ease:$DOCKER_TAG \
--build-arg BUILD_TYPE=offline \
--build-arg BASE_IMAGE=$BASE_IMAGE ease
--build-arg BASE_IMAGE=$BASE_IMAGE \
ease
- *push

t4c/client/ease/remote:
Expand Down

0 comments on commit 9f35096

Please sign in to comment.