Commit 964d3d5 1 parent a521c23 commit 964d3d5 Copy full SHA for 964d3d5
File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,19 @@ jobs:
75
75
path_context : ${{ inputs.context }}
76
76
builder_image : ${{ inputs.base-image }}
77
77
image : ${{ inputs.image-name }}
78
- tags : ${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.full_version_tag }} ${{ steps.tags.outputs.minor_version_tag }} ${{ steps.tags.outputs.date_tag }}
79
-
78
+ tags : ${{ steps.tags.outputs.latest_tag }}
79
+
80
+ - name : Add tags
81
+ run : |
82
+ docker tag ${{ inputs.image-name }}:${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.full_version_tag }}
83
+ docker tag ${{ inputs.image-name }}:${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.minor_version_tag }}
84
+ docker tag ${{ inputs.image-name }}:${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.date_tag }}
85
+
80
86
- name : Push-Image
81
- id : push-to-azure
82
87
uses : redhat-actions/push-to-registry@v2
83
88
with :
84
89
image : ${{ steps.build_image.outputs.image }}
85
- tags : ${{ steps.build_image .outputs.tags }}
90
+ tags : ${{ steps.tags .outputs.latest_tag }} ${{ steps. tags.outputs.full_version_tag }} ${{ steps.tags.outputs.minor_version_tag }} ${{ steps.tags.outputs.date_tag }}
86
91
registry : ${{ inputs.registry }}
87
92
username : ${{ secrets.registry-username }}
88
93
password : ${{ secrets.registry-password }}
You can’t perform that action at this time.
0 commit comments