Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GCP Logging for push and pull of images to GCP Artifact registry repositories

Hi, I would like to get logging to detect who is pushing new images or pulling existing images from GCP Artifact Registry Repositories. Currently, I don't see any new logs being generated in the GCP Logging Explorer when I perform these actions using docker and gcloud with test images.

Below are the commands I am running to successfully push and pull images. However, I am not seeing any logs being generated in the GCP Logging Explorer. 

 

gcloud auth configure-docker australia-southeast1-docker.pkg.dev

docker tag alpine:latest australia-southeast1-docker.pkg.dev/test-repo-362912/testrepository/alpine1:latest

docker push australia-southeast1-docker.pkg.dev/test-repo-362912/testrepository/alpine1:latest

docker pull \
    australia-southeast1-docker.pkg.dev/test-repo-362912/testrepository/alpine1:latest
    

 

Thanks  

0 2 1,785
2 REPLIES 2