Skip to content

Commit

Permalink
impr(UTAPI-101): Remove secrets: inherit from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed May 15, 2024
1 parent ae904b8 commit f6972dc
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,23 @@ on:
jobs:
build:
uses: scality/workflows/.github/workflows/docker-build.yaml@v2
secrets: inherit
with:
namespace: ${{ github.repository_owner }}
name: ${{ github.event.repository.name }}
context: .
file: ${{ github.event.inputs.dockerfile}}
tag: ${{ github.event.inputs.tag }}

release:
if: ${{ inputs.create-github-release }}
runs-on: ubuntu-latest
needs: build
steps:
- uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
name: Release ${{ github.event.inputs.tag }}
tag_name: ${{ github.event.inputs.tag }}
generate_release_notes: true
target_commitish: ${{ github.sha }}
# release:
# if: ${{ inputs.create-github-release }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - uses: softprops/action-gh-release@v2
# env:
# GITHUB_TOKEN: ${{ github.token }}
# with:
# name: Release ${{ github.event.inputs.tag }}
# tag_name: ${{ github.event.inputs.tag }}
# generate_release_notes: true
# target_commitish: ${{ github.sha }}

0 comments on commit f6972dc

Please sign in to comment.