Skip to content

Commit 46f9035

Browse files
committed
fix release workflow
1 parent e55f182 commit 46f9035

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,14 @@ jobs:
6666

6767
- name: Create and push multi-arch manifest
6868
run: |
69+
VERSION=${{ steps.get_version.outputs.version }}
70+
DOCKER_IMAGE_VERSION=${VERSION#v}
6971
docker manifest create --amend \
70-
cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${{ steps.get_version.outputs.version }} \
71-
cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${{ steps.get_version.outputs.version }}-amd \
72-
cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${{ steps.get_version.outputs.version }}-arm
72+
cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${DOCKER_IMAGE_VERSION} \
73+
cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${DOCKER_IMAGE_VERSION}-amd \
74+
cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${DOCKER_IMAGE_VERSION}-arm
7375
74-
docker manifest push cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${{ steps.get_version.outputs.version }}
76+
docker manifest push cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator:${DOCKER_IMAGE_VERSION}
7577
7678
helm_release:
7779
needs: create_multiarch_manifest
@@ -106,7 +108,7 @@ jobs:
106108
107109
# Update image repository and tag in values.yaml
108110
sed -i "s|repository:.*|repository: cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator|" helm/values.yaml
109-
sed -i "s/tag:.*/tag: $VERSION/" helm/values.yaml
111+
sed -i "s/tag:.*/tag: $CHART_VERSION/" helm/values.yaml
110112
111113
- name: Add docker-credential-nebius to PATH for Helm
112114
run: echo "/home/helmrelease-trigger-operator/.nebius/bin" >> $GITHUB_PATH

helm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ controllerManager:
1616
runAsUser: 65534
1717
runAsGroup: 65534
1818
image:
19-
repository: ghcr.io/nebius/helmrelease-trigger-operator
20-
tag: 0.2.0
19+
repository: cr.eu-north1.nebius.cloud/soperator/helmrelease-trigger-operator
20+
tag: 0.0.1
2121
resources:
2222
limits:
2323
memory: 128Mi

0 commit comments

Comments
 (0)