CircleCI: Do not run build as root. Move to public docker repo.

Change docker hub repository to 'openwrtorg'.
Create and use non-root user 'build'. Add xz-utils and unzip.
Use version numbers for docker images (SHA has no sense of time).
Disable pipefail in build step

Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
Ted Hess
2018-12-05 13:35:05 -05:00
parent ae102f4ef8
commit 1c2c18a16a
3 changed files with 11 additions and 4 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
# Build/update the docker image
docker pull debian:9
docker build --rm .
docker tag <IMAGE ID> docker.io/champtar/openwrtpackagesci:latest
docker push docker.io/champtar/openwrtpackagesci:latest
docker build --rm -t docker.io/openwrtorg/packages-cci:latest .
docker tag <IMAGE ID> docker.io/openwrtorg/packages-cci:<VERSION-TAG>
docker push docker.io/openwrtorg/packages-cci