Skip to content

Commit 385a25a

Browse files
committed
Solve minor error in package stage for gitlab ci.
1 parent b7e097d commit 385a25a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ sub_pull() {
3030

3131
docker pull $IMAGE_NAME:dev || true
3232

33-
docker pull $IMAGE_NAME:latest || true
33+
docker pull $IMAGE_NAME:runtime || true
3434
}
3535

3636
# Build MetaCall Docker Compose (link manually dockerignore files)
@@ -100,7 +100,7 @@ sub_pack(){
100100
. $BASE_DIR/.env
101101

102102
# Get layer with the tag METACALL_CLEAR_OPTIONS to hook into the previous layer of the clean command
103-
DOCKER_HOOK_CLEAR=`docker image history --no-trunc $IMAGE_NAME:runtime | grep 'ARG METACALL_CLEAR_OPTIONS' | awk '{print $1}'`
103+
DOCKER_HOOK_CLEAR=`docker image history --no-trunc $IMAGE_NAME:dev | grep 'ARG METACALL_CLEAR_OPTIONS' | awk '{print $1}'`
104104

105105
# Run the package builds
106106
docker run --name metacall_core_pack -it $DOCKER_HOOK_CLEAR /bin/bash -c ' \

0 commit comments

Comments
 (0)