Skip to content

Commit fa7c2d9

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 fa7c2d9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.circleci/config.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,19 @@ 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:
103+
version: 2
94104
flake8:
95-
jobs:
105+
jobs:ignore: /.*/
96106
- flake8
97107
test-linux:
98108
jobs:
@@ -103,3 +113,11 @@ workflows:
103113
test-windows:
104114
jobs:
105115
- test-windows
116+
build-docker-image:
117+
jobs:
118+
- build-docker-image:
119+
filters:
120+
tags:
121+
only: /.*/
122+
branches:
123+
ignore: /.*/

0 commit comments

Comments
 (0)