Skip to content

Commit

Permalink
Merge pull request #2369 from carolynvs/docker-login
Browse files Browse the repository at this point in the history
Log in to docker in release build
  • Loading branch information
carolynvs authored Sep 21, 2022
2 parents f89af80 + 4f2992d commit b02ae73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/azure-pipelines.release-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ stages:
key: "$(GOCACHE_KEY)"
restoreKeys: $(GOCACHE_RESTOREKEYS)
path: $(GOCACHE)
# We log in here because TestRegistry integration test needs a valid docker session
# This unfortunately means that this pipeline must be manually triggered for non-maintainers
- task: Docker@2
displayName: Docker Login
inputs:
command: login
containerRegistry: ghcr.io/getporter
- script: go run mage.go ConfigureAgent SetBinExecutable
displayName: "Configure Agent"
- script: mage -v TestIntegration
Expand Down

0 comments on commit b02ae73

Please sign in to comment.