Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
maiquanghiep committed Aug 27, 2024
1 parent 78245ad commit d0d4351
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/reusable_docker_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,21 @@ jobs:
run: |
SECRETS=""
if [ -n "${{ inputs.go-private-repos }}" ]; then
SECRETS+='"GO_PRIVATE_TOKEN=${{ secrets.GO_PRIVATE_TOKEN }}"\n'
SECRETS+='"GO_PRIVATE_TOKEN=test"\n'
fi
echo "::add-mask::$SECRETS"
echo "SECRETS<<EOF" >> $GITHUB_ENV
echo -e "$SECRETS" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
shell: bash

- name: Debug build secrets
run: |
echo "Debugging SECRETS value:"
echo ${{ steps.set-build-secrets.outputs.SECRETS }}
shell: bash

- name: Build Docker image
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit d0d4351

Please sign in to comment.