Skip to content
Snippets Groups Projects

Latest support

1 file
+ 9
3
Compare changes
  • Side-by-side
  • Inline
+ 9
3
@@ -29,8 +29,14 @@ else
ARGS='host=$COREADDRESS name=$WORKERNAME api-token=$APIKEY api-protocol=$APIPROTOCOL api-port=$APIPORT'
fi
docker build -t f00f/auta-$COMPONENT:$VERSION$TAG -f slim.Dockerfile . \
docker build -t f00f/auta-$COMPONENT -f slim.Dockerfile . \
--build-arg VERSION=$VERSION --build-arg COMPONENT=$COMPONENT --build-arg ARGS="$ARGS"
docker push f00f/auta-$COMPONENT:$VERSION$TAG
if [ "$TAG" = -latest ]
then
docker push f00f/auta-$COMPONENT
else
docker tag f00f/auta-$COMPONENT f00f/auta-$COMPONENT:$VERSION$TAG
docker push f00f/auta-$COMPONENT:$VERSION$TAG
fi
Loading