-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16462 from salasberryfin/kicbase-ubuntu-from-to-i…
…mage-version Add old and new version to 'update-ubuntu-version' automation
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,9 @@ jobs: | |
- name: Bump Ubuntu version | ||
id: bumpUbuntu | ||
run: | | ||
echo "OLD_VERSION=$(DEP=ubuntu make get-dependency-version)" >> $GITHUB_OUTPUT | ||
make update-ubuntu-version | ||
echo "NEW_VERSION=$(DEP=ubuntu make get-dependency-version)" >> $GITHUB_OUTPUT | ||
c=$(git status --porcelain) | ||
c="${c//$'\n'/'%0A'}" | ||
c="${c//$'\r'/'%0D'}" | ||
|
@@ -35,14 +37,14 @@ jobs: | |
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 | ||
with: | ||
token: ${{ secrets.MINIKUBE_BOT_PAT }} | ||
commit-message: update ubuntu:focal image version | ||
commit-message: 'Kicbase: Bump ubuntu:focal from ${{ steps.bumpUbuntu.outputs.OLD_VERSION }} to ${{ steps.bumpUbuntu.outpus.NEW_VERSION }}' | ||
committer: minikube-bot <[email protected]> | ||
author: minikube-bot <[email protected]> | ||
branch: auto_bump_ubuntu_version | ||
push-to-fork: minikube-bot/minikube | ||
base: master | ||
delete-branch: true | ||
title: 'Kicbase: Bump ubuntu:focal image version' | ||
title: 'Kicbase: Bump ubuntu:focal from ${{ steps.bumpUbuntu.outputs.OLD_VERSION }} to ${{ steps.bumpUbuntu.outpus.NEW_VERSION }}' | ||
body: | | ||
The ubuntu:focal image released a new version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters