From 6c6c505c751999649c35a65604819189df6c32b4 Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Mon, 22 Jan 2024 12:54:48 +1100 Subject: [PATCH] Add secrets: inherit for all the steps --- .github/workflows/release-docker-image.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-docker-image.yaml b/.github/workflows/release-docker-image.yaml index f3dfcc2..a125d4f 100644 --- a/.github/workflows/release-docker-image.yaml +++ b/.github/workflows/release-docker-image.yaml @@ -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 @@ -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 @@ -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' }} @@ -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