[NOPR] suite: disable a few & add odroidm1 #21
Workflow file for this run
This file contains 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
on: | |
push: | |
tags: | |
- "v*" | |
name: Create release | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Generate Release Notes | |
run: | | |
release_notes=$(gh api repos/{owner}/{repo}/releases/generate-notes -F tag_name=${{ github.ref }} --jq .body) | |
echo 'RELEASE_NOTES<<EOF' >> $GITHUB_ENV | |
echo "${release_notes}" >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OWNER: ${{ github.repository_owner }} | |
REPO: ${{ github.event.repository.name }} | |
- name: install helm | |
uses: Azure/[email protected] | |
with: | |
version: v3.9.4 | |
- name: login to ghcr.io | |
run: echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io/rpardini --username ${{ github.actor }} --password-stdin | |
- name: create helm chart package for stack | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/stack --dependency-update --version ${ver:1} | |
- name: create helm chart package for showcase | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/showcase --dependency-update --version ${ver:1} | |
- name: create helm chart package for suite | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/suite --dependency-update --version ${ver:1} | |
- name: create helm chart package for tink | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/tink --dependency-update --version ${ver:1} | |
- name: create helm chart package for rufio | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/rufio --dependency-update --version ${ver:1} | |
- name: create helm chart package for smee | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/smee --dependency-update --version ${ver:1} | |
- name: create helm chart package for hegel | |
run: ver=${GITHUB_REF_NAME}; helm package tinkerbell/hegel --dependency-update --version ${ver:1} | |
- name: publish stack chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push stack-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: publish showcase chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push showcase-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: publish suite chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push suite-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: publish tink chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push tink-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: publish rufio chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push rufio-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: publish smee chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push smee-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: publish hegel chart to ghcr.io | |
run: ver=${GITHUB_REF_NAME}; helm push hegel-${ver:1}.tgz oci://ghcr.io/rpardini/tinkerbell-charts | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: ${{ github.ref }} | |
body: ${{ env.RELEASE_NOTES }} | |
draft: false | |
prerelease: true |