Fix: [2.0.6] Docker 빌드 시 --no-cache 추가
All checks were successful
news-summary-bot-cicd / build_push_deploy (push) Successful in 12m17s

buildx 캐시 참조 에러(no such job) 해결

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
sm4640
2026-03-24 16:32:34 +09:00
parent af0e2fca8a
commit 5e8e10e2fa

View File

@@ -90,10 +90,10 @@ jobs:
IMAGE="${DOCKERHUB_USER}/${IMAGE_NAME}:latest" IMAGE="${DOCKERHUB_USER}/${IMAGE_NAME}:latest"
if [ -n "${VERSION_TAG}" ]; then if [ -n "${VERSION_TAG}" ]; then
VERSIONED_IMAGE="${DOCKERHUB_USER}/${IMAGE_NAME}:${VERSION_TAG}" VERSIONED_IMAGE="${DOCKERHUB_USER}/${IMAGE_NAME}:${VERSION_TAG}"
docker build -t "${IMAGE}" -t "${VERSIONED_IMAGE}" . docker build --no-cache -t "${IMAGE}" -t "${VERSIONED_IMAGE}" .
docker push "${VERSIONED_IMAGE}" docker push "${VERSIONED_IMAGE}"
else else
docker build -t "${IMAGE}" . docker build --no-cache -t "${IMAGE}" .
fi fi
docker push "${IMAGE}" docker push "${IMAGE}"