Skip to content

Commit 940ebdf

Browse files
Fix Docker image path in save and echo commands (fixes non-expansion problem)
1 parent baf20c7 commit 940ebdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ jobs:
110110
- run:
111111
name: Save Docker image
112112
command: |
113-
docker save $REGISTRY_HOST/$REGISTRY_REPO:$TAG -o /tmp/docker-image.tar
113+
docker save $REGISTRY_HOST/library/$CIRCLE_PROJECT_REPONAME:$TAG -o /tmp/docker-image.tar
114114
- run:
115115
name: Save image info for push job
116116
command: |
117117
mkdir -p /tmp/docker-image-info
118-
echo "$REGISTRY_HOST/$REGISTRY_REPO:$TAG" > /tmp/docker-image-info/image-name.txt
118+
echo "$REGISTRY_HOST/library/$CIRCLE_PROJECT_REPONAME:$TAG" > /tmp/docker-image-info/image-name.txt
119119
- persist_to_workspace:
120120
root: /tmp
121121
paths:

0 commit comments

Comments
 (0)