Skip to content

Commit e5df3b5

Browse files
authored
Merge pull request #10 from nebius/fix-release-workflow
2 parents 46f9035 + 0968122 commit e5df3b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ jobs:
4141

4242
- name: Build and push ${{ matrix.arch }} image
4343
run: |
44+
VERSION=${{ steps.get_version.outputs.version }}
45+
IMAGE_VERSION=${VERSION#v}
4446
docker build \
4547
--platform linux/${{ matrix.arch }} \
46-
-t cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${{ steps.get_version.outputs.version }}-${{ matrix.suffix }} \
48+
-t cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${IMAGE_VERSION}-${{ matrix.suffix }} \
4749
-f Dockerfile .
4850
49-
docker push cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${{ steps.get_version.outputs.version }}-${{ matrix.suffix }}
51+
docker push cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${IMAGE_VERSION}-${{ matrix.suffix }}
5052
5153
create_multiarch_manifest:
5254
needs: build_and_push

0 commit comments

Comments
 (0)