Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Jan 5, 2024
1 parent 43862d9 commit c75a800
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-community-operators-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
GH_REF_NAME: vX.Y.Z # placeholder for testing
BRANCH_NAME_BASE: ${{ github.actor }}/datadog-operator
ACTIONS_RUNNER_DEBUG: true
REDHAT_TOKEN: ${{ secrets.REDHAT_TOKEN }}
steps:
- name: setup env
env:
REDHAT_TOKEN: ${{ secrets.REDHAT_TOKEN }}
shell: bash
run: |
echo "VERSION=${GH_REF_NAME:1:5}" >> $GITHUB_ENV
echo "COMMUNITY_BRANCH_NAME=$BRANCH_NAME_BASE-$GH_REF_NAME" >> $GITHUB_ENV
Expand All @@ -42,9 +44,7 @@ jobs:
elif [[ "${{ inputs.repo }}" == "certified-operators" ]]; then
echo "BUNDLE_PATH=bundle-redhat" >> $GITHUB_ENV
fi
cat << EOF > ${{ github.workspace }}/.redhat/auths.json
$REDHAT_TOKEN
EOF
echo $REDHAT_TOKEN >> ${{ github.workspace }}/.redhat/auths.json
fi
- name: validate env
Expand Down

0 comments on commit c75a800

Please sign in to comment.