File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ jobs:
112112 tags : |
113113 seatable/seatable-python-${{ needs.init-vars.outputs.component }}:commit-${{ steps.get_commit.outputs.short_sha }}
114114 seatable/seatable-python-${{ needs.init-vars.outputs.component }}:${{ needs.init-vars.outputs.image_tag_prefix }}${{ needs.init-vars.outputs.version }}
115+ ${{ needs.init-vars.outputs.image_tag_prefix == '' && format('seatable/seatable-python-{0}:latest', needs.init-vars.outputs.component) || '' }}
115116 labels : |
116117 org.opencontainers.image.title=seatable/seatable-python-${{ needs.init-vars.outputs.component }}
117118 org.opencontainers.image.version=${{ needs.init-vars.outputs.image_tag_prefix }}${{ needs.init-vars.outputs.version }}
@@ -133,14 +134,3 @@ jobs:
133134 vuln-type : ' os,library'
134135 severity : ' CRITICAL,HIGH'
135136
136- # - name: Push image
137- # id: push_image
138- # run: |
139- # docker push seatable/seatable-python-${{ needs.init-vars.outputs.component }}:commit-${{ steps.get_commit.outputs.short_sha }}
140- # docker push seatable/seatable-python-${{ needs.init-vars.outputs.component }}:${{ needs.init-vars.outputs.image_tag_prefix }}${{ needs.init-vars.outputs.version }}
141-
142- - name : Push "latest" tag
143- run : |
144- docker tag seatable/seatable-python-${{ needs.init-vars.outputs.component }}:commit-${{ steps.get_commit.outputs.short_sha }} seatable/seatable-python-${{ needs.init-vars.outputs.component }}:latest
145- docker push seatable/seatable-python-${{ needs.init-vars.outputs.component }}:latest
146- if : ${{ needs.init-vars.outputs.image_tag_prefix == '' }}
You can’t perform that action at this time.
0 commit comments