diff --git a/.github/workflows/reusable_docker_pipeline.yml b/.github/workflows/reusable_docker_pipeline.yml index 1e62fd8..7a8ffda 100644 --- a/.github/workflows/reusable_docker_pipeline.yml +++ b/.github/workflows/reusable_docker_pipeline.yml @@ -60,11 +60,10 @@ jobs: if [ -n "${{ inputs.go-private-repos }}" ]; then SECRETS+='"GO_PRIVATE_TOKEN=test"\n' fi - - echo "SECRETS<> $GITHUB_ENV - echo -e "$SECRETS" >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV + echo "SECRETS<> $GITHUB_OUTPUT + echo -e "$SECRETS" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT shell: bash - name: Debug build secrets @@ -80,8 +79,7 @@ jobs: outputs: type=docker,dest=/tmp/${{ env.IMAGE_NAME }}.tar context: ${{ inputs.dockerContext }} file: ${{ inputs.dockerfile }} - secrets: | - ${{ steps.set-build-secrets.outputs.SECRETS }} + secrets: ${{ steps.set-build-secrets.outputs.SECRETS }} - name: Upload Docker image to workspace if: inputs.publish == true