Skip to content

Commit 1705baa

Browse files
committed
Set up build-docker-image job build docker image for tags on Circle CI
Signed-off-by: Squareys <[email protected]>
1 parent 6b0d151 commit 1705baa

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.circleci/config.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ jobs:
9090
source emsdk_env.sh
9191
python scripts/test.py
9292
93+
build-docker-image:
94+
machine: true
95+
steps:
96+
- checkout
97+
- run: cd docker && make version=${CIRCLE_TAG}-upstream
98+
- run: |
99+
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
100+
docker push emscripten/emsdk:${CIRCLE_TAG}-upstream
101+
93102
workflows:
94103
flake8:
95104
jobs:
@@ -103,3 +112,11 @@ workflows:
103112
test-windows:
104113
jobs:
105114
- test-windows
115+
build-docker-image:
116+
jobs:
117+
- build-docker-image:
118+
filters:
119+
branches:
120+
ignore: /.*/
121+
tags:
122+
only: /.*/

0 commit comments

Comments
 (0)