Skip to content

Commit fb05a5d

Browse files
committed
chore: add v prefix to the version
1 parent a4446a3 commit fb05a5d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ecr-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,27 +116,27 @@ jobs:
116116
- name: Create ECR manifest with explicit tag
117117
id: create-ecr-manifest-explicit
118118
run: |
119-
docker manifest create "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:${{ needs.build-and-upload-image-to-ecr.outputs.version }}" \
119+
docker manifest create "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:v${{ needs.build-and-upload-image-to-ecr.outputs.version }}" \
120120
"${{ needs.build-and-upload-image-to-ecr.outputs.full_image_x86_64 }}" \
121121
"${{ needs.build-and-upload-image-to-ecr.outputs.full_image_arm64 }}"
122122
- name: Annotate ECR manifest with explicit arm64 tag
123123
id: annotate-ecr-manifest-explicit-arm64
124124
run: |
125-
docker manifest annotate "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:${{ needs.build-and-upload-image-to-ecr.outputs.version }}" \
125+
docker manifest annotate "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:v${{ needs.build-and-upload-image-to-ecr.outputs.version }}" \
126126
"${{ needs.build-and-upload-image-to-ecr.outputs.full_image_arm64 }}" \
127127
--arch arm64 \
128128
--os linux
129129
- name: Annotate ECR manifest with explicit amd64 tag
130130
id: annotate-ecr-manifest-explicit-amd64
131131
run: |
132-
docker manifest annotate "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:${{ needs.build-and-upload-image-to-ecr.outputs.version }}" \
132+
docker manifest annotate "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:v${{ needs.build-and-upload-image-to-ecr.outputs.version }}" \
133133
"${{ needs.build-and-upload-image-to-ecr.outputs.full_image_x86_64 }}" \
134134
--arch amd64 \
135135
--os linux
136136
- name: Push ECR manifest with explicit version
137137
id: push-ecr-manifest-explicit
138138
run: |
139-
docker manifest push "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:${{ needs.build-and-upload-image-to-ecr.outputs.version }}"
139+
docker manifest push "${{ needs.build-and-upload-image-to-ecr.outputs.ecr_registry_repository }}:v${{ needs.build-and-upload-image-to-ecr.outputs.version }}"
140140
- name: Create ECR manifest with latest tag
141141
id: create-ecr-manifest-latest
142142
run: |

0 commit comments

Comments
 (0)