Browse Source

fix: 🐛 在构建阶段添加 --no-cache 选项,以避免使用缓存构建 Docker 镜像

pull/28/head
chenjiale 1 month ago
parent
commit
4d5eb8b1a4
  1. 2
      .drone.yml

2
.drone.yml

@ -22,7 +22,7 @@ steps:
- echo "=== BUILD STAGE PWD ==="
- pwd
- ls -l
- docker build -t alert-python:latest -f Dockerfile .
- docker build --no-cache -t alert-python:latest -f Dockerfile .
- name: run python container
image: docker

Loading…
Cancel
Save