correct docker repo name

This commit is contained in:
Joseph Montanaro 2020-12-30 05:44:46 -08:00
parent 5e49fc7e9c
commit 2d45d5b368

View File

@ -29,8 +29,8 @@ steps:
- COMMIT_HASH=$(git log -n 1 --pretty=%H)
# collect info from current image
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
- docker pull registry.jfmonty2.com/drone:latest
- IMAGE_COMMIT_HASH=$(docker image inspect -f '{{ .Config.Labels.drone_commit_hash }}' registry.jfmonty2.com/drone:latest)
- docker pull registry.jfmonty2.com/drone-server:latest
- IMAGE_COMMIT_HASH=$(docker image inspect -f '{{ .Config.Labels.drone_commit_hash }}' registry.jfmonty2.com/drone-server:latest)
# compare
- |
if [[ $COMMIT_HASH != $IMAGE_COMMIT_HASH ]]; then