The server for Open Course World

try plain docker.io

+3 -3
+3 -3
.tangled/workflows/deploy.yaml
··· 17 17 mkdir -p "$HOME"/.docker "$HOME"/.regctl 18 18 19 19 cat > "$HOME"/.docker/config.json <<EOF 20 - {"auths": {"https://index.docker.io/v2": {"auth":"$(echo -n "$DOCKER_USER:$DOCKER_PAT" | base64 -w0)"}}} 20 + {"auths": {"docker.io": {"auth":"$(echo -n "$DOCKER_USER:$DOCKER_PAT" | base64 -w0)"}}} 21 21 EOF 22 22 23 23 cat > "$HOME"/.regctl/config.json <<EOF 24 - {"hosts": {"https://index.docker.io/v2": {"user": "$DOCKER_USER","pass": "$DOCKER_PAT"}}} 24 + {"hosts": {"docker.io": {"user": "$DOCKER_USER","pass": "$DOCKER_PAT"}}} 25 25 EOF 26 26 - name: "Docker build" 27 27 command: | 28 28 executor \ 29 29 --context=dir://. \ 30 30 --verbosity=debug \ 31 - --destination=https://index.docker.io/v2/"$DOCKER_USER"/ocw:server \ 31 + --destination=docker.io/"$DOCKER_USER"/ocw:server \ 32 32 --custom-platform=linux/amd64 33 33 # - name: "Docker push" 34 34 # command: |