Skip to content

Commit f53e089

Browse files
committed
fix: release process for fork
1 parent efb53df commit f53e089

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v6
2222
with:
23-
go-version: '1.23'
23+
go-version: '1.24'
2424
- name: Set version info
2525
run: |
2626
echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV
2727
# NB: this gets the closest tag cut from the same branch; for new minor tags, it will find the previous minor, not the previous patch release
2828
# (for example v2.7.0, not v2.7.3). For new patch releases, it should fetch the previous patch (e.g. 2.7.3, not v2.7.0)
29-
echo "PREVIOUS_VERSION=$(git describe --abbrev=0 2> /dev/null)" >> $GITHUB_ENV
29+
echo "PREVIOUS_VERSION=$(git describe --abbrev=0 2> /dev/null)" >> $GITHUB_ENV
3030
echo "RELEASE_BRANCH=release-$(echo ${GITHUB_REF_NAME} | grep -Eo '[0-9]\.[0-9]+')" >> $GITHUB_ENV
3131
echo "RELEASE_TAG=${GITHUB_REF_NAME}" >> $GITHUB_ENV
3232
- name: Run release
@@ -35,6 +35,6 @@ jobs:
3535
echo "Previous version is: $PREVIOUS_VERSION"
3636
echo "Release branch is: $RELEASE_BRANCH"
3737
echo "Release tag is: $RELEASE_TAG"
38-
make release
38+
PROD_REGISTRY="ghcr.io/nutanix-cloud-native" make release
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)