Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
ad6ea941
Commit
ad6ea941
authored
Oct 15, 2020
by
Brian Clozel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.3.x'
Closes gh-23702
parents
89b11b00
07bdfd6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
detect-ubuntu-image-updates.sh
ci/scripts/detect-ubuntu-image-updates.sh
+1
-1
No files found.
ci/scripts/detect-ubuntu-image-updates.sh
View file @
ad6ea941
...
@@ -4,7 +4,7 @@ ISSUE_TITLE="Upgrade Ubuntu version in CI images"
...
@@ -4,7 +4,7 @@ ISSUE_TITLE="Upgrade Ubuntu version in CI images"
ubuntu
=
"focal"
ubuntu
=
"focal"
latest
=
$(
curl
-s
"https://hub.docker.com/v2/repositories/library/ubuntu/tags/?page_size=1&page=1&name=
$ubuntu
"
| jq
-c
-r
'.results[0].name'
|
awk
'{split($0, parts, "-"); print parts[2]}'
)
latest
=
$(
curl
-s
"https://hub.docker.com/v2/repositories/library/ubuntu/tags/?page_size=1&page=1&name=
$ubuntu
"
| jq
-c
-r
'.results[0].name'
|
awk
'{split($0, parts, "-"); print parts[2]}'
)
current
=
$(
grep
"ubuntu:
$ubuntu
"
git-repo/ci/images/
spring-boot-
ci-image/Dockerfile |
awk
'{split($0, parts, "-"); print parts[2]}'
)
current
=
$(
grep
"ubuntu:
$ubuntu
"
git-repo/ci/images/ci-image/Dockerfile |
awk
'{split($0, parts, "-"); print parts[2]}'
)
if
[[
$current
=
$latest
]]
;
then
if
[[
$current
=
$latest
]]
;
then
echo
"Already up-to-date"
echo
"Already up-to-date"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment