Skip to content

Commit 56b7a34

Browse files
committed
Edit GCP note
1 parent 0453228 commit 56b7a34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GCP_upload.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ gcloud artifacts repositories create djangorepo \
1010
--location=europe-west1 \
1111
--description="repo for django app image"
1212

13+
Also manually configure it to have a cleanup policy where untagged images are deleted. By always
14+
pushing to the same name and tag, the previous one becomes untagged and thus is deleted (eventually).
15+
1316
3. Tag the image with a special name:
1417
docker tag django_app:latest europe-west1-docker.pkg.dev/fastapi-aws-django-gcp/djangorepo/django_app:latest
1518

0 commit comments

Comments
 (0)