Skip to content

Commit 1370188

Browse files
Update azure-pipelines.yml to build the docker image.
1 parent 9aa7026 commit 1370188

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

azure-pipelines.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ trigger:
99
pool:
1010
vmImage: ubuntu-latest
1111

12-
steps:
13-
- script: echo Hello, world!
14-
displayName: 'Run a one-line script'
12+
variables:
13+
imageName: 'pipelines-javascript-docker'
1514

16-
- script: |
17-
echo Add other tasks to build, test, and deploy your project.
18-
echo See https://aka.ms/yaml
19-
displayName: 'Run a multi-line script'
15+
steps:
16+
- task: Docker@2
17+
displayName: Build an image
18+
inputs:
19+
repository: $(image)
20+
command: build
21+
Dockerfile: app/Dockerfile

0 commit comments

Comments
 (0)