Skip to content

Commit

Permalink
Update update-container-tags.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yeger00 authored Dec 19, 2024
1 parent b3be2da commit 5b4e365
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-container-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -40,6 +42,6 @@ jobs:
add: 'helm-quarry/values.yaml'
author_name: Github Action
author_email: [email protected]
branch: ${{ github.head_ref }}
branch: ${{ env.GITHUB_REF }}
message: 'auto update of ${{ inputs.imagename }} tag'
pull: --rebase --autostash

0 comments on commit 5b4e365

Please sign in to comment.