[nebuly-platform] Release #370
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "[nebuly-platform] Release" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'nebuly-platform-v[0-9]+.[0-9]+.[0-9]+' | |
| jobs: | |
| Push-dockerhub: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Helm | |
| uses: Azure/setup-helm@v3 | |
| - name: Helm login | |
| run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | helm registry login registry-1.docker.io -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin | |
| - name: Helm push | |
| working-directory: nebuly-platform | |
| run: make helm-push | |
| env: | |
| HELM_CHART_REGISTRY: oci://registry-1.docker.io/nebulydocker | |
| Push-ghcr: | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: write | |
| packages: write | |
| env: | |
| REGISTRY: ghcr.io | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Helm | |
| uses: Azure/setup-helm@v3 | |
| - name: Helm login | |
| run: echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ env.REGISTRY }} -u $ --password-stdin | |
| - name: Helm push | |
| working-directory: nebuly-platform | |
| run: make helm-push |