Skip to content

Commit b5215c3

Browse files
authored
ci: fix tag (#838)
## fixes NO TICKET The `Organisation` was missing from the docker tag ## Checklist: - [ ] I have verified that the code works - [ ] No panics! (checked arithmetic ops, no indexing `array[3]` use `get(3)`, ...) - [ ] I have verified that the code is easy to understand - [ ] If not, I have left a well-balanced amount of inline comments - [ ] I have [left the code in a better state](https://deviq.com/principles/boy-scout-rule) - [ ] I have documented the changes (where applicable) * Either PR or Ticket to update [the Docs](https://github.com/KILTprotocol/docs) * Link the PR/Ticket here
1 parent ba600bf commit b5215c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.maintain/build-image.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ target_tag=$1
77
# Build the builder image and push it in the background
88
docker build \
99
--target builder \
10-
--cache-from $CI_REGISTRY/kilt-node:builder \
11-
-t $CI_REGISTRY/kilt-node:builder \
10+
--cache-from $CI_REGISTRY/$ORGANIZATION/kilt-node:builder \
11+
-t $CI_REGISTRY/$ORGANIZATION/kilt-node:builder \
1212
. &
13-
docker push $CI_REGISTRY/kilt-node:builder &
13+
docker push $CI_REGISTRY/$ORGANIZATION/kilt-node:builder &
1414

1515
wait
1616

@@ -21,8 +21,8 @@ build_and_tag() {
2121
local cache_image=$3
2222

2323
docker build \
24-
--cache-from $CI_REGISTRY/kilt-node:builder \
25-
--cache-from $CI_REGISTRY/$cache_image:$target_tag \
24+
--cache-from $CI_REGISTRY/$ORGANIZATION/kilt-node:builder \
25+
--cache-from $CI_REGISTRY/$ORGANIZATION/$cache_image:$target_tag \
2626
--build-arg NODE_TYPE=$node_type \
2727
-t local/$image_name:$target_tag \
2828
.

0 commit comments

Comments
 (0)