Skip to content

Commit

Permalink
Add missing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
nolancon committed May 24, 2024
1 parent 46e897c commit e1b4c34
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release-candidate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ permissions:
contents: write
pull-requests: write

env:
# Common versions
GO_VERSION: '1.21'
DOCKER_BUILDX_VERSION: 'v0.9.1'

# Common users. We can't run a step 'if secrets.XXX != ""' but we can run a
# step 'if env.XXX' != ""', so we copy these to succinctly test whether
# credentials have been provided before trying to run steps that need them.
UPBOUND_MARKETPLACE_PUSH_ROBOT_USR: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }}

jobs:
create-rc-pr:
# We don't want to run this on main upon merging the PR we are creating.
Expand Down Expand Up @@ -110,7 +120,6 @@ jobs:
# publish only works on branches main, master and release-
run: |
git checkout -b release-$VERSION
make publish BRANCH_NAME=release-$VERSION
- name: Publish Artifacts
if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != ''
Expand Down

0 comments on commit e1b4c34

Please sign in to comment.