Skip to content

Commit

Permalink
wip3
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Ong committed Apr 6, 2023
1 parent 9b88e01 commit 9cf2e9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ stages:
regionName: $(awsRegion)
scriptType: inline
inlineScript: |
docker login -u ${{ variables.dockerhubUsername }} -p ${{ variables.dockerhubPat }}
docker build -t ${{ variables.dockerhubUsername }}/${{ parameters.images[image.key].name }}:$(Build.BuildNumber) -f ${{ parameters.images[image.key].pathToDockerFile }} ${{ parameters.images[image.key].pathToDockerContext}}
docker push ${{ variables.dockerhubUsername }}/${{ parameters.images[image.key].name }}:$(Build.BuildNumber)
docker login -u $(dockerhubUsername) -p $(dockerhubPat)
docker build -t $(dockerhubUsername)/${{ parameters.images[image.key].name }}:$(Build.BuildNumber) -f ${{ parameters.images[image.key].pathToDockerFile }} ${{ parameters.images[image.key].pathToDockerContext}}
docker push $(dockerhubUsername)/${{ parameters.images[image.key].name }}:$(Build.BuildNumber)
failOnStdErr: true
targetType: inline
Expand Down

0 comments on commit 9cf2e9a

Please sign in to comment.