Skip to content

fix: try using the token variable instead #9

fix: try using the token variable instead

fix: try using the token variable instead #9

Workflow file for this run

name: Release
on:
push:
tags: [ 'v*.*.*' ]
env:
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
environment: deployment # this gets the secrets for deployments
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
# ################################
# create release and push assets
# ################################
- name: Release to github with Notes
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}