Skip to content

Set image

Before getting started, let's create an image that we will use throughout this guide. In this case, my dockerhub username is rewanthtammana, replace it accordingly.

# Replace the dockerhub username
export DOCKERHUB_USERNAME=rewanthtammana
export IMAGE=$DOCKERHUB_USERNAME/sigstore-the-easy-way
docker pull nginx
docker tag nginx $IMAGE
docker push $IMAGE


It's recommended to use digest values with an image instead of tags like latest, v1, etc., for signing, verifying, deploying, etc.

IMAGEDIGEST=$(docker manifest inspect --verbose $IMAGE | jq -r '.Descriptor.digest')
echo $IMAGE


Last update: 2022-11-24 05:02:08
Created: 2022-11-24 05:02:08