fix(ci): secure existing Docker authentication directories
Development CI / check-and-package (push) Successful in 4m3s
Development CI / image (push) Successful in 22s
Development CI / deploy-development (push) Successful in 12s

This commit is contained in:
eezd committed 2026-10-27 20:23:37 +08:00
1 parent a137285e35
commit 354b785863
3 files changed
+8 -4

No files matched your search

+4 -2
View File
@@ -95,7 +95,8 @@ jobs:
GITEA_RELEASE_TOKEN: ${{ secrets.RAWMARK_GITEA_TOKEN }}
run: |
set -eu
mkdir -m 700 "$DOCKER_CONFIG"
mkdir -p "$DOCKER_CONFIG"
chmod 700 "$DOCKER_CONFIG"
python3 scripts/release.py promote-development "$TEMP_IMAGE"
- name: Clean only this attempt's resources and credentials
if: always()
@@ -131,7 +132,8 @@ jobs:
- name: Deploy only the independent development instance
run: |
set -eu
mkdir -m 700 "$DOCKER_CONFIG"
mkdir -p "$DOCKER_CONFIG"
chmod 700 "$DOCKER_CONFIG"
printf '%s' "$GITEA_RELEASE_TOKEN" | docker login git.134333.xyz --username eezd --password-stdin
python3 scripts/deploy.py development --directory /docker/main/rawmark-dev \
--image "$DEPLOY_IMAGE" --commit "$DEPLOY_COMMIT" --version "$DEPLOY_VERSION" \