Skip to content

Commit

Permalink
Add secrets: inherit for all the steps
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jan 22, 2024
1 parent 03f6eea commit 6c6c505
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
uses: IABTechLab/uid2-shared-actions/actions/shared_publish_setup@v2
with:
release_type: ${{ inputs.release_type }}
secrets: inherit

- name: Set version number
id: version
Expand All @@ -36,6 +37,7 @@ jobs:
type: ${{ inputs.release_type }}
version_number: ${{ inputs.version_number_input }}
branch_name: ${{ github.ref }}
secrets: inherit

- name: Update package.json
id: updatePackageJson
Expand All @@ -52,6 +54,7 @@ jobs:
with:
add: 'package.json'
message: 'Released ${{ inputs.release_type }} version: ${{ steps.version.outputs.new_version }}'
secrets: inherit

- name: Commit package.json and set tag
if: ${{ inputs.version_number_input == '' && steps.checkRelease.outputs.IS_RELEASE == 'true' }}
Expand All @@ -60,6 +63,7 @@ jobs:
add: 'package.json'
message: 'Released ${{ inputs.release_type }} version: ${{ steps.version.outputs.new_version }}'
tag: v${{ steps.version.outputs.new_version }}
secrets: inherit

publishToUID2:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@kcc-UID2-2674-implement-shared-publish-to-docker-versioned
Expand Down

0 comments on commit 6c6c505

Please sign in to comment.