Fix: [2.0.6] Docker 빌드 시 --no-cache 추가
All checks were successful
news-summary-bot-cicd / build_push_deploy (push) Successful in 12m17s
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:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user