Skip to content

Commit ca3a924

Browse files
committed
ci: enable latest tag for nightly Docker images and release
1 parent c5b412c commit ca3a924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nightly-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ jobs:
149149
--repo "$REPO" \
150150
--title "Nightly Build $TAG" \
151151
--notes "Nightly build $TAG" \
152-
--prerelease \
152+
--latest \
153153
--target main 2>/dev/null; then
154154
TAG="${TAG}-${{ github.run_number }}"
155155
gh release create "$TAG" \
156156
artifacts/**/*.tar.gz \
157157
--repo "$REPO" \
158158
--title "Nightly Build $TAG" \
159159
--notes "Nightly build $TAG" \
160-
--prerelease \
160+
--latest \
161161
--target main
162162
fi
163163
echo "Created release: $TAG"
@@ -189,7 +189,7 @@ jobs:
189189
with:
190190
tag-strategy: "nightly"
191191
version: ${{ needs.get-version.outputs.version }}
192-
create-latest-tag: false
192+
create-latest-tag: true
193193
platforms: '["linux/amd64", "linux/arm64"]'
194194
push-to-ghcr: true
195195
push-to-dockerhub: true

0 commit comments

Comments
 (0)