remove commit tag

This commit is contained in:
Peter Varsanyi 2018-06-09 20:30:48 -07:00
parent f015495038
commit 252e26dd43

View file

@ -14,9 +14,8 @@ env:
- QEMU_ARCH=aarch64 ARCH=arm64 - QEMU_ARCH=aarch64 ARCH=arm64
script: script:
- docker run --rm --privileged multiarch/qemu-user-static:register - docker run --rm --privileged multiarch/qemu-user-static:register
- docker build -t $REPO:$COMMIT -f Dockerfile.$ARCH . - docker build -t $REPO:$ARCH-latest -f Dockerfile.$ARCH .
after_success: after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS - docker login -u $DOCKER_USER -p $DOCKER_PASS
- if [ "$ARCH" == "amd64" ]; then docker tag $REPO:$COMMIT $REPO:latest; fi - if [ "$ARCH" == "amd64" ]; then docker tag $REPO:$COMMIT $REPO:latest; fi
- docker tag $REPO:$COMMIT $REPO:$ARCH-latest
- docker push $REPO - docker push $REPO