Fix build failure
The CI_REGISTRY_IMAGE variable should not be eval'd. In addition, it seems safer to run the pipe in a subshell to avoid issues with the && chaining.
This commit is contained in:
parent
e5dad3d29c
commit
6c44a604b1
|
|
@ -39,7 +39,7 @@ build:
|
|||
--volume $PWD:/devuan --workdir /devuan
|
||||
"$CI_REGISTRY_IMAGE"/migrated ./bootstrap.sh
|
||||
- version="$DEVUAN_VERSION"-$(date +%F)
|
||||
&& tar -cC rootfs . | docker import - "$(CI_REGISTRY_IMAGE)":"$version"
|
||||
&& (tar -cC rootfs . | docker import - "$CI_REGISTRY_IMAGE":"$version")
|
||||
&& docker push "$CI_REGISTRY_IMAGE":"$version"
|
||||
&& docker tag "$CI_REGISTRY_IMAGE":"$version" "$CI_REGISTRY_IMAGE"
|
||||
&& docker push "$CI_REGISTRY_IMAGE"
|
||||
|
|
|
|||
Loading…
Reference in New Issue