Skip to content

Commit

Permalink
Update Helm index with released antrea-ui charts (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: Antonin Bas <abas@vmware.com>
  • Loading branch information
antoninbas authored Apr 7, 2023
1 parent ec10b25 commit 9f0a52f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push antrea/antrea-ui-frontend
docker push antrea/antrea-ui-backend
20 changes: 20 additions & 0 deletions .github/workflows/process_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,23 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./assets/*"]'

update-website:
name: Trigger website update for release
needs: upload-release-assets
runs-on: ubuntu-latest
steps:
- id: get-version
env:
TAG: ${{ github.ref }}
run: |
version=${TAG:10}
echo "::set-output name=version::$version"
- name: Update Helm index with Antrea UI archive
uses: benc-uk/workflow-dispatch@v121
with:
repo: antrea-io/website
ref: refs/heads/main
workflow: Update Helm index
token: ${{ secrets.ANTREA_WEBSITE_WORKFLOW_DISPATCH_PAT }}
inputs: ${{ format('{{ "archive-url":"https://github.com/antrea-io/antrea-ui/releases/download/{0}/antrea-ui-chart.tgz" }}', steps.get-version.outputs.version) }}

0 comments on commit 9f0a52f

Please sign in to comment.