ci: fix gatekeeper building the wrong image
This commit is contained in:
parent
231e448b1a
commit
41117d873d
|
@ -194,15 +194,13 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-latest'
|
vmImage: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- task: CmdLine@2
|
|
||||||
inputs:
|
|
||||||
script: cd gatekeeper
|
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
inputs:
|
inputs:
|
||||||
containerRegistry: 'dockerhub'
|
containerRegistry: 'dockerhub'
|
||||||
repository: 'beryju/passbook-gatekeeper'
|
repository: 'beryju/passbook-gatekeeper'
|
||||||
command: 'buildAndPush'
|
command: 'buildAndPush'
|
||||||
Dockerfile: 'Dockerfile'
|
Dockerfile: 'Dockerfile'
|
||||||
|
buildContext: 'gatekeeper/'
|
||||||
tags: 'gh-$(Build.SourceBranchName)'
|
tags: 'gh-$(Build.SourceBranchName)'
|
||||||
- job: build_static
|
- job: build_static
|
||||||
pool:
|
pool:
|
||||||
|
|
Reference in New Issue