Skip to content

Commit

Permalink
chore: use geonetci user to make updates to images
Browse files Browse the repository at this point in the history
ensure other jobs trigger when an image digest update PR comes through
  • Loading branch information
BobyMCbobs committed Oct 17, 2023
1 parent de47816 commit f71c3a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-image-digests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- uses: GeoNet/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c # main
- name: configure system
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
git config user.name 'geonetci'
git config user.email '[email protected]'
gh auth login --with-token < <(echo ${{ secrets.GH_CI_USER_TOKEN }})
gh auth status
- name: update select images
run: ./hack/update-sync-image-digests.sh
Expand Down Expand Up @@ -46,6 +46,7 @@ jobs:
TIMESTAMP: ${{ steps.branch.outputs.timestamp }}
NEW_BRANCH: ${{ steps.branch.outputs.new-branch-name }}
HAS_EXISTING: ${{ steps.branch.outputs.has-existing }}
GH_TOKEN: ${{ secrets.GH_CI_USER_TOKEN }}
run: |
git add ./config.yaml
git branch "${NEW_BRANCH}"
Expand Down

0 comments on commit f71c3a3

Please sign in to comment.