update CI def

This commit is contained in:
James Swineson 2020-04-17 04:51:52 -07:00
parent d9c83dd711
commit 4079124563
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ docker run -d \
--mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \ --mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \
--mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \ --mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \
--name ripe-atlas \ --name ripe-atlas \
jamesits/ripe-atlas:latest jamesits/ripe-atlas:nightly
``` ```
Then we fetch the generated public key: Then we fetch the generated public key:

View File

@ -69,7 +69,7 @@ jobs:
- bash: | - bash: |
set -Eeuo pipefail set -Eeuo pipefail
docker tag dst $(DOCKER_IMAGE_BASENAME):nightly docker tag ripe-atlas $(DOCKER_IMAGE_BASENAME):nightly
docker push $(DOCKER_IMAGE_BASENAME):nightly docker push $(DOCKER_IMAGE_BASENAME):nightly
displayName: "Push image" displayName: "Push image"
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['Build.Reason'], 'PullRequest')) condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['Build.Reason'], 'PullRequest'))