Skip to content

Commit 35b70b9

Browse files
author
CI Bot
committed
fix(ci): remove dead Mirror step that references undefined ACR_REGISTRY
1 parent f288e30 commit 35b70b9

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

.github/workflows/deploy-test.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,6 @@ jobs:
5858
docker build --platform linux/amd64 -f deploy/docker/Dockerfile.api -t "cixing-api:${IMAGE_TAG}" -t "$IMAGE_ACR" .
5959
docker push "$IMAGE_ACR"
6060
61-
- name: Mirror base images to ACR (skip if tag exists)
62-
run: |
63-
set -eu
64-
mirror() {
65-
local source="$1"
66-
local name="$2"
67-
local acr_tag="${ACR_REGISTRY}/${name}"
68-
if docker manifest inspect "$acr_tag" >/dev/null 2>&1; then
69-
echo "skip $name: already in ACR"
70-
return
71-
fi
72-
echo "mirroring $source -> $acr_tag"
73-
docker pull --platform linux/amd64 "$source"
74-
docker tag "$source" "$acr_tag"
75-
docker push "$acr_tag"
76-
}
77-
mirror "${POSTGRES_IMAGE:-postgres:16-alpine}" postgres
78-
mirror "${REDIS_IMAGE:-redis:7-alpine}" redis
79-
mirror "${MAILPIT_IMAGE:-axllent/mailpit:v1.29.7}" mailpit
80-
8161
- name: Prepare deployment files
8262
env:
8363
TEST_CONFIG_YAML: ${{ secrets.TEST_CONFIG_YAML }}

0 commit comments

Comments
 (0)