Skip to content

Commit

Permalink
ci: fix tag (#838)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
ggera authored Jan 7, 2025
1 parent ba600bf commit b5215c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .maintain/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ target_tag=$1
# Build the builder image and push it in the background
docker build \
--target builder \
--cache-from $CI_REGISTRY/kilt-node:builder \
-t $CI_REGISTRY/kilt-node:builder \
--cache-from $CI_REGISTRY/$ORGANIZATION/kilt-node:builder \
-t $CI_REGISTRY/$ORGANIZATION/kilt-node:builder \
. &
docker push $CI_REGISTRY/kilt-node:builder &
docker push $CI_REGISTRY/$ORGANIZATION/kilt-node:builder &

wait

Expand All @@ -21,8 +21,8 @@ build_and_tag() {
local cache_image=$3

docker build \
--cache-from $CI_REGISTRY/kilt-node:builder \
--cache-from $CI_REGISTRY/$cache_image:$target_tag \
--cache-from $CI_REGISTRY/$ORGANIZATION/kilt-node:builder \
--cache-from $CI_REGISTRY/$ORGANIZATION/$cache_image:$target_tag \
--build-arg NODE_TYPE=$node_type \
-t local/$image_name:$target_tag \
.
Expand Down

0 comments on commit b5215c3

Please sign in to comment.