diff --git a/.github/workflows/update-container-tags.yaml b/.github/workflows/update-container-tags.yaml index e92a183..9ff5494 100644 --- a/.github/workflows/update-container-tags.yaml +++ b/.github/workflows/update-container-tags.yaml @@ -8,6 +8,8 @@ name: update container tags jobs: update-container-tags: runs-on: ubuntu-latest + env: + GITHUB_REF: ${{ github.head_ref }} steps: - uses: actions/checkout@v2 with: @@ -19,7 +21,7 @@ jobs: git fetch - name: git checkout run: | - git checkout ${{ github.head_ref }} + git checkout "$GITHUB_REF" # compare to upstream main branch - name: git add remote @@ -40,6 +42,6 @@ jobs: add: 'helm-quarry/values.yaml' author_name: Github Action author_email: auto@github.com - branch: ${{ github.head_ref }} + branch: ${{ env.GITHUB_REF }} message: 'auto update of ${{ inputs.imagename }} tag' pull: --rebase --autostash diff --git a/helm-quarry/values.yaml b/helm-quarry/values.yaml index c2ec398..915e32d 100644 --- a/helm-quarry/values.yaml +++ b/helm-quarry/values.yaml @@ -1,7 +1,7 @@ web: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-71 # web tag managed by github actions + tag: pr-72 # web tag managed by github actions worker: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-71 # worker tag managed by github actions + tag: pr-72 # worker tag managed by github actions