Testing circleci auto-publish of docker image (#531)

This commit is contained in:
Sam Clegg
2020-06-23 18:50:16 -07:00
committed by GitHub
parent 38a270fa5c
commit 25416b8ff7
2 changed files with 6 additions and 2 deletions

View File

@@ -112,7 +112,11 @@ jobs:
- setup_remote_docker
- run:
name: build
command: docker build --network host --build-arg=EMSCRIPTEN_VERSION=${CIRCLE_TAG}-upstream --tag emscripten/emsdk:${CIRCLE_TAG} ./docker
# TESTING: using fixed EMSCRIPTEN_VERSION. Will revert this as
# soon as we've published docker image autoamtically using a test
# tag.
#command: docker build --network host --build-arg EMSCRIPTEN_VERSION=${CIRCLE_TAG} --tag emscripten/emsdk:${CIRCLE_TAG} ./docker
command: docker build --network host --build-arg EMSCRIPTEN_VERSION=1.39.18 --tag emscripten/emsdk:1.39.18 ./docker
- run:
name: tag image
command: docker tag emscripten/emsdk:${CIRCLE_TAG} emscripten/emsdk:latest

View File

@@ -3,7 +3,7 @@ FROM debian:buster AS stage_build
# ------------------------------------------------------------------------------
# Supports only 1.38.40+, accepts also '-upstream' variants
ARG EMSCRIPTEN_VERSION=1.39.18
ARG EMSCRIPTEN_VERSION=1.39.17
# ------------------------------------------------------------------------------