jason/nest

Parents cf35704ef02b
Children a9d9ca0576f7
Update convey.yml to have a registry var and rename the dockerhub vars to registry vars
  • +11 -7
    convey.yml
  • --- a/convey.yml Sat May 04 17:30:31 2019 +0000
    +++ b/convey.yml Sat May 04 14:59:25 2019 -0500
    @@ -1,6 +1,10 @@
    environment:
    - REPO=pidgin/nest
    - TAG=latest
    + - REGISTER_USERNAME
    + - REGISTRY_PASSWORD
    + - REGISTRY=docker.io
    +
    tasks:
    import:
    type: docker/import
    @@ -8,22 +12,22 @@
    build:
    type: docker/build
    dockerfile: Dockerfile
    - tag: ${REPO}:${TAG}
    + tag: ${REGISTRY}/${REPO}:${TAG}
    files: .
    push:
    type: docker/push
    - image: ${REPO}:${TAG}
    + image: ${REGISTRY}/${REPO}:${TAG}
    clean:
    type: docker/remove
    - image: ${REPO}:${TAG}
    + image: ${REGISTRY}/${REPO}:${TAG}
    login:
    type: docker/login
    - username: ${DOCKERHUB_USERNAME}
    - password: ${DOCKERHUB_PASSWORD}
    - server: docker.io
    + username: ${REGISTRY_USERNAME}
    + password: ${REGISTRY_PASSWORD}
    + server: ${REGISTRY}
    logout:
    type: docker/logout
    - server: docker.io
    + server: ${REGISTRY}
    plans:
    default: