mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Fix docker manifest on Travis CI
So I had `DOCKER_CLI_EXPERIMENTAL=enabled` enabled by default and couldn't reproduce the error on my machine. This time I'm pretty sure it works as expected.
This commit is contained in:
parent
cf7b5851c3
commit
28352675ea
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
ROOT_DIR=$(dirname "$0")/..
|
||||
DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
# BUILD_COMMIT=${TRAVIS_COMMIT:-$(git rev-parse HEAD)}
|
||||
|
||||
IFS='.' read -r major minor patch < $ROOT_DIR/VERSION
|
||||
@ -24,7 +23,7 @@ do
|
||||
for tag in "${tags[@]}"
|
||||
do
|
||||
TARGET="humanconnection/${app}:${tag}"
|
||||
if docker manifest inspect $TARGET >/dev/null; then
|
||||
if DOCKER_CLI_EXPERIMENTAL=enabled docker manifest inspect $TARGET >/dev/null; then
|
||||
echo "docker image ${TARGET} already present, skipping ..."
|
||||
else
|
||||
echo -e "docker tag $SOURCE $TARGET\ndocker push $TARGET"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user