File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 69
69
name : ${{ inputs.image }}-${{ inputs.platform }}-${{ inputs.variant }}-tags
70
70
path : /tmp/jupyter/tags/
71
71
- name : Apply tags to the loaded image 🏷
72
- run : python3 -m tagging.apply_tags --short-image-name ${{ inputs.image }} --tags-dir /tmp/jupyter/tags/ --platform ${{ inputs.platform }} --variant ${{ inputs.variant }} --registry ${{ env.REGISTRY }} --owner ${{ env.OWNER }}
72
+ run : python3 -m tagging.apply_tags --short-image-name ${{ inputs.image }} --tags-dir /tmp/jupyter/tags/ --platform ${{ inputs.platform }} --registry ${{ env.REGISTRY }} --owner ${{ env.OWNER }} --variant ${{ inputs.variant }}
73
73
# This step is needed to prevent pushing non-multi-arch "latest" tag
74
74
- name : Remove the "latest" tag from the image 🗑️
75
75
run : docker image rmi ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }}:latest
Original file line number Diff line number Diff line change @@ -66,17 +66,17 @@ def merge_tags(
66
66
required = True ,
67
67
help = "Short image name" ,
68
68
)
69
- arg_parser .add_argument (
70
- "--variant" ,
71
- required = True ,
72
- help = "Variant tag prefix" ,
73
- )
74
69
arg_parser .add_argument (
75
70
"--tags-dir" ,
76
71
required = True ,
77
72
type = Path ,
78
73
help = "Directory with saved tags file" ,
79
74
)
75
+ arg_parser .add_argument (
76
+ "--variant" ,
77
+ required = True ,
78
+ help = "Variant tag prefix" ,
79
+ )
80
80
args = arg_parser .parse_args ()
81
81
82
82
merge_tags (args .short_image_name , args .variant , args .tags_dir )
You can’t perform that action at this time.
0 commit comments