Skip to content

Instantly share code, notes, and snippets.

@jippi
Created March 23, 2018 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jippi/4e5bd5349d5dea55171eff72bf5a22cf to your computer and use it in GitHub Desktop.
Save jippi/4e5bd5349d5dea55171eff72bf5a22cf to your computer and use it in GitHub Desktop.
---
target:
# where to copy images to
registry: xxxx.dkr.ecr.us-east-1.amazonaws.com
# (optional) prefix all repositories with this name
# xxxx.dkr.ecr.us-east-1.amazonaws.com/hub/jippi/hashi-ui
prefix: "hub/"
# what repositories to copy
repositories:
# will automatically know it's a "library" repository in dockerhub
- name: elasticsearch
match_tag: # tags to match, can be specific or glob pattern
- "5.6.8" # specific tag match
- "6.*" # glob patterns will match
ignore_tag: # tags to never match on (even if its matched by `tag`)
- "*-alpine" # support both glob or specific strings
- name: yotpo/resec
max_tag_age: 8w # only import tags that are 8w or less old
- name: jippi/hashi-ui
max_tags: 10 # only copy the 10 latest tags
match_tag:
- "v*"
- name: jippi/go-metadataproxy # import all tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment