mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 11:14:13 +01:00
Fix Gitlab CI
This commit is contained in:
parent
2a06f4dbf4
commit
c153dba5bc
1 changed files with 4 additions and 4 deletions
|
@ -75,15 +75,15 @@ test2:
|
||||||
--build-arg "BUILD_ARCH=${ADDON_ARCH}" \
|
--build-arg "BUILD_ARCH=${ADDON_ARCH}" \
|
||||||
--build-arg "BUILD_REF=${CI_COMMIT_SHA}" \
|
--build-arg "BUILD_REF=${CI_COMMIT_SHA}" \
|
||||||
--build-arg "BUILD_VERSION=${ADDON_VERSION}" \
|
--build-arg "BUILD_VERSION=${ADDON_VERSION}" \
|
||||||
--tag "${CI_REGISTRY}/esphomeyaml-hassio-${ADDON_ARCH}:dev" \
|
--tag "${CI_REGISTRY}/ottowinter/esphomeyaml-hassio-${ADDON_ARCH}:dev" \
|
||||||
--tag "${CI_REGISTRY}/esphomeyaml-hassio-${ADDON_ARCH}:${CI_COMMIT_SHA}" \
|
--tag "${CI_REGISTRY}/ottowinter/esphomeyaml-hassio-${ADDON_ARCH}:${CI_COMMIT_SHA}" \
|
||||||
--file "docker/Dockerfile.hassio" \
|
--file "docker/Dockerfile.hassio" \
|
||||||
.
|
.
|
||||||
- |
|
- |
|
||||||
if [ "${DO_PUSH:-true}" = true ]; then
|
if [ "${DO_PUSH:-true}" = true ]; then
|
||||||
echo "Pushing to CI registry"
|
echo "Pushing to CI registry"
|
||||||
docker push ${CI_REGISTRY}/esphomeyaml-hassio-${ADDON_ARCH}:${CI_COMMIT_SHA}
|
docker push ${CI_REGISTRY}/ottowinter/esphomeyaml-hassio-${ADDON_ARCH}:${CI_COMMIT_SHA}
|
||||||
docker push ${CI_REGISTRY}/esphomeyaml-hassio-${ADDON_ARCH}:dev
|
docker push ${CI_REGISTRY}/ottowinter/esphomeyaml-hassio-${ADDON_ARCH}:dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generic deploy template
|
# Generic deploy template
|
||||||
|
|
Loading…
Reference in a new issue