Skip to content

Commit

Permalink
[build] Update workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
  • Loading branch information
VietND96 committed Jan 10, 2024
1 parent 0a8e23d commit 61781f3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Expand Up @@ -57,19 +57,19 @@ jobs:
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release
- name: Tag images as latest
uses: nick-invision/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2
uses: nick-invision/retry@master
with:
timeout_minutes: 20
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest
- name: Deploy latest tag
uses: nick-invision/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2
uses: nick-invision/retry@master
with:
timeout_minutes: 20
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest
- name: Tag browser images
uses: nick-invision/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2
uses: nick-invision/retry@master
with:
timeout_minutes: 20
max_attempts: 3
Expand All @@ -88,12 +88,12 @@ jobs:
run: ./generate_release_notes.sh ${LATEST_TAG} origin/trunk ${GRID_VERSION} ${BUILD_DATE}
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: ncipollo/release-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.GRID_VERSION }}-${{ env.BUILD_DATE }}
release_name: ${{ env.GRID_VERSION }}-${{ env.BUILD_DATE }}
body_path: release_notes.md
draft: false
tag: ${{ env.GRID_VERSION }}-${{ env.BUILD_DATE }}
name: ${{ env.GRID_VERSION }}-${{ env.BUILD_DATE }}
bodyFile: "release_notes.md"
generateReleaseNotes: true
prerelease: ${{ env.PRERELEASE }}
2 changes: 2 additions & 0 deletions .github/workflows/helm-chart-release.yml
Expand Up @@ -25,5 +25,7 @@ jobs:
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
mark_as_latest: false
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yaml
Expand Up @@ -72,6 +72,8 @@ jobs:
- name: Create Nightly Release
id: create_release
uses: ncipollo/release-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
#artifacts:
replacesArtifacts: true
Expand Down

0 comments on commit 61781f3

Please sign in to comment.