Oops, it's "fi", not "done" for bash conditionals.
@@ -27,7 +27,7 @@ jobs:
- run: make ci-prepare
- run: make gen-image-targets TAG=${CIRCLE_BRANCH:-${CIRCLE_TAG}} REGISTRY=metallb
- run: make -f Makefile.image-targets {{$bin}}
- - run: if [[ "${CIRCLE_BRANCH}" == "master" ]]; then docker tag metallb/{{$bin}}:master metallb/{{$bin}}:latest && docker push metallb/{{$bin}}:latest; done
+ - run: if [[ "${CIRCLE_BRANCH}" == "master" ]]; then docker tag metallb/{{$bin}}:master metallb/{{$bin}}:latest && docker push metallb/{{$bin}}:latest; fi
{{- end }}
workflows:
version: 2
