Skip to content

Commit b22fbf0

Browse files
yeger00Github Action
andauthored
Update update-container-tags.yaml (#72)
* Update update-container-tags.yaml * auto update of tag --------- Co-authored-by: Github Action <auto@github.com>
1 parent a99d110 commit b22fbf0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/update-container-tags.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ name: update container tags
88
jobs:
99
update-container-tags:
1010
runs-on: ubuntu-latest
11+
env:
12+
GITHUB_REF: ${{ github.head_ref }}
1113
steps:
1214
- uses: actions/checkout@v2
1315
with:
@@ -19,7 +21,7 @@ jobs:
1921
git fetch
2022
- name: git checkout
2123
run: |
22-
git checkout ${{ github.head_ref }}
24+
git checkout "$GITHUB_REF"
2325
2426
# compare to upstream main branch
2527
- name: git add remote
@@ -40,6 +42,6 @@ jobs:
4042
add: 'helm-quarry/values.yaml'
4143
author_name: Github Action
4244
author_email: auto@github.com
43-
branch: ${{ github.head_ref }}
45+
branch: ${{ env.GITHUB_REF }}
4446
message: 'auto update of ${{ inputs.imagename }} tag'
4547
pull: --rebase --autostash

helm-quarry/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
web:
22
repository: 'quay.io/wikimedia-quarry/quarry'
3-
tag: pr-54 # web tag managed by github actions
3+
tag: pr-72 # web tag managed by github actions
44
resources:
55
requests:
66
memory: "300Mi"
@@ -11,7 +11,7 @@ web:
1111

1212
worker:
1313
repository: 'quay.io/wikimedia-quarry/quarry'
14-
tag: pr-54 # worker tag managed by github actions
14+
tag: pr-72 # worker tag managed by github actions
1515
resources:
1616
requests:
1717
memory: "400Mi"

0 commit comments

Comments
 (0)