We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0bcc02 commit 095052bCopy full SHA for 095052b
.github/workflows/github-actions.yml
@@ -38,16 +38,12 @@ jobs:
38
# extract branch name
39
- name: Extract branch name
40
if: github.event_name != 'pull_request'
41
- run: echo "BRANCH_NAME ${GITHUB_REF#refs/heads/}"
42
- env:
43
- BRANCH_NAME: ${GITHUB_REF#refs/heads/}
+ run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV"
44
45
# extract branch name on pull request
46
47
if: github.event_name == 'pull_request'
48
- run: echo "BRANCH_NAME ${GITHUB_HEAD_REF}"
49
50
- BRANCH_NAME: ${GITHUB_HEAD_REF}
+ run: echo "BRANCH_NAME=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV"
51
52
# Build and push Operator image (don't push on PR)
53
- name: Build and push Docker image
0 commit comments