Skip to content

Instantly share code, notes, and snippets.

@jippi
Created Mar 23, 2018
Embed
What would you like to do?
---
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