Skip to content

Instantly share code, notes, and snippets.

@thierryturpin
Last active June 12, 2020 13:46
Show Gist options
  • Save thierryturpin/c9f8f847ed949aaec30fbc02299a37ac to your computer and use it in GitHub Desktop.
Save thierryturpin/c9f8f847ed949aaec30fbc02299a37ac to your computer and use it in GitHub Desktop.
skopeo inspect
➜ airflow-gold git:(Dockerfile) ✗ token=$(aws ecr get-login-password --region eu-west-1 --profile=micropole)
➜ airflow-gold git:(Dockerfile) ✗ skopeo inspect --creds=AWS:$token docker://662050899999.dkr.ecr.eu-west-1.amazonaws.com/airlfow-gold:1.10.10 | jq '.Labels'
{
"LABEL_BUILD_ID": "airflow-bold:cc5053dd-fa2a-482e-93c0-777d29d468b7",
"LABEL_BUILD_NUMBER": "23",
"LABEL_TRIGGER": "branch/Dockerfile",
"SOURCE_VERSION": "2eea3da019f6eb28672f5fe1bceef249a917a109",
"maintainer": "tt"
}
➜ airflow-gold git:(Dockerfile) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment