We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3be2da commit 5b4e365Copy full SHA for 5b4e365
.github/workflows/update-container-tags.yaml
@@ -8,6 +8,8 @@ name: update container tags
8
jobs:
9
update-container-tags:
10
runs-on: ubuntu-latest
11
+ env:
12
+ GITHUB_REF: ${{ github.head_ref }}
13
steps:
14
- uses: actions/checkout@v2
15
with:
@@ -19,7 +21,7 @@ jobs:
19
21
git fetch
20
22
- name: git checkout
23
run: |
- git checkout ${{ github.head_ref }}
24
+ git checkout "$GITHUB_REF"
25
26
# compare to upstream main branch
27
- name: git add remote
@@ -40,6 +42,6 @@ jobs:
40
42
add: 'helm-quarry/values.yaml'
41
43
author_name: Github Action
44
author_email: [email protected]
- branch: ${{ github.head_ref }}
45
+ branch: ${{ env.GITHUB_REF }}
46
message: 'auto update of ${{ inputs.imagename }} tag'
47
pull: --rebase --autostash
0 commit comments