File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -306,11 +306,13 @@ jobs:
306
306
id : get_image_tags
307
307
shell : bash
308
308
run : |
309
- dockerhub_base=${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}
310
- ecr_base=${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}
311
- _tags="${dockerhub_base}-${{ matrix.distro }},${ecr_base}-${{ matrix.distro }}"
309
+ _tags="${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}-${{ matrix.distro }}"
310
+ _tags="${_tags},${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}-${{ matrix.distro }}"
312
311
if [[ "${{ matrix.distro }}" == "debian" ]]; then
313
- _tags="${_tags},${dockerhub_base},${ecr_base}"
312
+ _tags="${_tags},${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}"
313
+ _tags="${_tags},${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}"
314
+ _tags="${_tags},${{ steps.login.outputs.dockerhub_repo }}:latest"
315
+ _tags="${_tags},${{ steps.login.outputs.ecr_repo }}:latest"
314
316
fi
315
317
echo ::set-output name=IMAGE_TAGS::${_tags}
316
318
You can’t perform that action at this time.
0 commit comments