Compare commits

...

1 Commits

Author SHA1 Message Date
Taylor McKinnon 943b2f239b remove secrets: inherit 2024-05-15 10:26:28 -07:00
1 changed files with 13 additions and 14 deletions

View File

@ -23,7 +23,6 @@ on:
jobs:
build:
uses: scality/workflows/.github/workflows/docker-build.yaml@v2
secrets: inherit
with:
namespace: ${{ github.repository_owner }}
name: ${{ github.event.repository.name }}
@ -31,16 +30,16 @@ jobs:
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 }}