Skip to content

add cluster name to role to avoid conflicts with other roles for othe… #13

add cluster name to role to avoid conflicts with other roles for othe…

add cluster name to role to avoid conflicts with other roles for othe… #13

Workflow file for this run

on:
push:
branches:
- main
paths:
- 'VERSION'
tags:
- 'v*'
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Read VERSION file
id: version
run: echo "::set-output name=version::$(cat VERSION)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.version }}
release_name: v${{ steps.version.outputs.version }}
body: ""
draft: false
prerelease: false