Release 0.0.2 #3
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
name: Create new release | ||
on: | ||
push: | ||
tags: | ||
- v** | ||
jobs: | ||
build-docker-image: | ||
name: Build release Docker image | ||
uses: ./.github/workflows/docker.yml | ||
secrets: inherit | ||
build-helm-chart: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Write release version | ||
id: version | ||
run: | | ||
VERSION=${GITHUB_REF_NAME#v} | ||
echo Version: $VERSION | ||
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT" | ||
- name: Push helm chart | ||
uses: appany/[email protected] | ||
with: | ||
name: restate-operator-helm | ||
repository: restatedev | ||
tag: ${{ steps.version.outputs.VERSION }} | ||
registry: ghcr.io | ||
registry_username: ${{ github.actor }} | ||
registry_password: ${{ secrets.GITHUB_TOKEN }} | ||
publish-release: | ||
name: Publish release | ||
runs-on: ubuntu-latest | ||
needs: [build-docker-image build-helm-chart] | ||
Check failure on line 36 in .github/workflows/release.yml GitHub Actions / Create new releaseInvalid workflow file
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
# create a draft release which needs manual approval | ||
draft: true | ||
files: | | ||
crd/crd.yaml | ||
deploy/operator.pkl |