cbb85ea037afc72968ee8c6a881e89144d1fe9c6 — HokieGeek a month ago 8a7be7f master 5.1.19-3
Switching to Docker Hub
1 files changed, 4 insertions(+), 5 deletions(-)

M .build.yml
M .build.yml => .build.yml +4 -5
@@ 6,10 6,9 @@ environment:
    PROJ: docker-tiddlywiki
    CI_COMMIT_TAG: $(git --work-tree=./docker-tiddlywiki --git-dir=./docker-tiddlywiki/.git describe)
-   CI_REGISTRY: quay.io
    CI_REGISTRY_USER: hokiegeek
  secrets:
-   - d675b280-e56b-4c0f-9908-549c70a7e2f9
+   - 1e1af69d-4036-40fd-9eb8-03b367bdb0eb # docker hub
  tasks:
    - setup: |
        sudo mount -t tmpfs -o size=4G /dev/null /dev/shm


@@ 20,15 19,15 @@ sudo addgroup $(whoami) docker
    - build: |
        cd ${PROJ}
-       IMAGE=${CI_REGISTRY}/${CI_REGISTRY_USER}/tiddlywiki
+       IMAGE=${CI_REGISTRY_USER}/tiddlywiki
        IMAGE_TAG=${IMAGE}:${CI_COMMIT_TAG}
        IMAGE_LATEST_TAG=${IMAGE}:latest
        docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
    - deploy: |
        cd ${PROJ}
-       IMAGE=${CI_REGISTRY}/${CI_REGISTRY_USER}/tiddlywiki
+       IMAGE=${CI_REGISTRY_USER}/tiddlywiki
        IMAGE_TAG=${IMAGE}:${CI_COMMIT_TAG}
        IMAGE_LATEST_TAG=${IMAGE}:latest
-       cat $HOME/.image_registry_token | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY}
+       cat $HOME/.image_registry_token | docker login --username ${CI_REGISTRY_USER} --password-stdin
        docker push $IMAGE_TAG
        docker push $IMAGE_LATEST_TAG