File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ services:
7171 build :
7272 context : ..
7373 dockerfile : backend/Dockerfile
74+ # No provenance attestation: BuildKit stamps a new one on every build, which gives a fully
75+ # cached image a new id, so scripts/deploy-prod.sh would roll unchanged code and compose would
76+ # recreate unchanged services.
77+ provenance : false
7478 image : codebite-backend
7579 restart : unless-stopped
7680 deploy :
@@ -116,6 +120,10 @@ services:
116120 build :
117121 context : ..
118122 dockerfile : worker/Dockerfile
123+ # No provenance attestation: BuildKit stamps a new one on every build, which gives a fully
124+ # cached image a new id, so scripts/deploy-prod.sh would roll unchanged code and compose would
125+ # recreate unchanged services.
126+ provenance : false
119127 image : codebite-worker
120128 restart : unless-stopped
121129 stop_grace_period : 30s
@@ -141,7 +149,12 @@ services:
141149 - codebite
142150
143151 nginx :
144- build : ../frontend
152+ build :
153+ context : ../frontend
154+ # No provenance attestation: BuildKit stamps a new one on every build, which gives a fully
155+ # cached image a new id, so scripts/deploy-prod.sh would roll unchanged code and compose would
156+ # recreate unchanged services.
157+ provenance : false
145158 image : codebite-nginx
146159 container_name : codebite-nginx
147160 restart : unless-stopped
You can’t perform that action at this time.
0 commit comments