diff options
| author | Christian Segundo | 2026-09-20 21:16:52 +0200 |
|---|---|---|
| committer | Christian Segundo | 2026-09-21 00:01:30 +0200 |
| commit | 300188f729329139d8ed0cbd9e00d8947883cc6c (patch) | |
| tree | 99fc799b34a3cc570b8db72f01e75e8c585117b8 /.scripts.d/30-test.sh | |
| parent | 7f1fcd140a22d5668982a7b3ca81198f77a200d2 (diff) | |
| download | languagetool-300188f729329139d8ed0cbd9e00d8947883cc6c.tar.gz | |
Diffstat (limited to '.scripts.d/30-test.sh')
| -rw-r--r-- | .scripts.d/30-test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.scripts.d/30-test.sh b/.scripts.d/30-test.sh index bf84a36..4014698 100644 --- a/.scripts.d/30-test.sh +++ b/.scripts.d/30-test.sh @@ -41,7 +41,10 @@ fi goss --gossfile goss.yaml render >goss-full.yaml mv goss-full.yaml goss.yaml -echo "${GITEA_REGISTRY_TOKEN}" | - docker login "${REGISTRY}" -u "${GITEA_REGISTRY_USER}" --password-stdin +mkdir -p ~/.docker +auth=$(printf '%s:%s' "$GITEA_REGISTRY_USER" "$GITEA_REGISTRY_TOKEN" | base64 -w0) +cat > ~/.docker/config.json <<EOF +{"auths":{"${REGISTRY}":{"auth":"${auth}"}}} +EOF dgoss run "${IMAGE_NAME}" |