Run build, lint and unit-test steps in a container, using a pre-built image to save rebuilding at CircleCI Move a couple of scripts up to config.yml for clarity
10 lines
277 B
Bash
Executable File
10 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
cd $SRCDIR
|
|
make clean-bin
|
|
# CircleCI doesn't let us install the qemu module to do ARM docker builds
|
|
make publish ALL_ARCHITECTURES=amd64 UPDATE_LATEST=latest-only SUDO= BUILD_IN_CONTAINER=false
|