We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f709a5 commit 2a81c07Copy full SHA for 2a81c07
1 file changed
.circleci/config.yml
@@ -0,0 +1,30 @@
1
+version: 2
2
+jobs:
3
+ build_and_deploy:
4
+ docker:
5
+ - image: verdigristech/ci-node
6
+ working_directory: ~/docker-ci-node
7
+ steps:
8
+ - checkout
9
+ - setup_remote_docker
10
+ - run:
11
+ name: Login to Docker Cloud
12
+ command: echo "$DOCKER_PASS" | docker login -u $DOCKER_USER --password-stdin
13
14
+ name: Build Docker image
15
+ command: docker build -t verdigristech/ci-node .
16
17
+ name: Deploy container
18
+ command: docker push verdigristech/ci-node
19
+
20
+workflows:
21
+ version: 2
22
23
+ jobs:
24
+ - build_and_deploy:
25
+ context: common
26
+ filters:
27
+ tags:
28
+ only: /v\d+(\.\d+)*/
29
+ branches:
30
+ ignore: /.*/
0 commit comments