cleanup for next version

This commit is contained in:
Nicholas St. Germain 2019-01-16 13:12:57 -06:00
parent 46c656219f
commit 106e0534b1
2 changed files with 9 additions and 7 deletions

View file

@ -4,7 +4,7 @@ from varken import VERSION
org = 'boerderij'
project = 'varken'
namespace = f"{org}/{project}"
namespace = "{}/{}".format(org, project)
yaml_arr = []
tags = ['latest', VERSION]
@ -17,12 +17,12 @@ arch_list = [('arm', 'arm', 'v6', 'linux'),
for tag in tags:
yaml_doc = {
'image': f'{namespace}:{tag}',
'image': '{}:{}'.format(namespace, tag),
'manifests': []
}
for arch in arch_list:
info = {
'image': f"{namespace}:{tag}-{arch[0]}",
'image': "{}:{}-{}".format(namespace, tag, arch[0]),
'platform': {
'architecture': arch[1],
'os': arch[3]