tangled
alpha
login
or
join now
opencourse.world
/
ocw-server
0
fork
atom
The server for Open Course World
0
fork
atom
overview
issues
pulls
pipelines
try plain docker.io
jneen
4 months ago
4aeef412
d1bcb0d9
0/1
deploy.yaml
failed
4s
+3
-3
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yaml
+3
-3
.tangled/workflows/deploy.yaml
reviewed
···
17
17
mkdir -p "$HOME"/.docker "$HOME"/.regctl
18
18
19
19
cat > "$HOME"/.docker/config.json <<EOF
20
20
-
{"auths": {"https://index.docker.io/v2": {"auth":"$(echo -n "$DOCKER_USER:$DOCKER_PAT" | base64 -w0)"}}}
20
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
24
-
{"hosts": {"https://index.docker.io/v2": {"user": "$DOCKER_USER","pass": "$DOCKER_PAT"}}}
24
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
31
-
--destination=https://index.docker.io/v2/"$DOCKER_USER"/ocw:server \
31
31
+
--destination=docker.io/"$DOCKER_USER"/ocw:server \
32
32
--custom-platform=linux/amd64
33
33
# - name: "Docker push"
34
34
# command: |