Skip to content

Commit 7eb3ff3

Browse files
committed
edit config.yml
1 parent 80761db commit 7eb3ff3

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.circleci/config.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@ version: 2.1
33
orbs:
44
docker: circleci/docker@2.8.2
55

6-
jobs:
7-
build:
8-
machine:
9-
image: ubuntu-2204:current
10-
steps:
11-
- checkout
12-
- docker/build:
13-
image: deflaxx/node-js-sample
14-
tag: latest
15-
- docker/push:
16-
image: deflaxx/node-js-sample
17-
tag: latest
6+
workflows:
7+
build-and-publish-docker-image:
8+
jobs:
9+
docker-password: DOCKER_PASSWORD
10+
docker-username: DOCKER_USERNAME
11+
image: deflaxx/node-js-sample
12+
tag: 0.1.$CIRCLE_BUILD_NUM
1813

1914
workflows:
2015
version: 2

0 commit comments

Comments
 (0)