File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 - task : scripts:lint:yamllint
4545
4646 dependency:update :
47- desc : ' No-op: no dedicated dependency updater configured for this profile '
47+ desc : Update repository dependencies not covered by Dependabot
4848 cmds :
49- - task : scripts:dependency :update
49+ - task : scripts:packages :update
5050
5151 version:set :
5252 desc : Update version in README.md and action.yml
Original file line number Diff line number Diff line change @@ -255,9 +255,17 @@ tasks:
255255 exit 0
256256 fi
257257
258- base_image="$(sed -nE 's/^FROM[[:space:]]+([^[:space:]]+).*/\1/p' Dockerfile | head -1)"
258+ base_image="$(awk '
259+ toupper($1) == "FROM" {
260+ image=$2
261+ if (image ~ /^alpine(:|$)/) {
262+ print image
263+ exit
264+ }
265+ }
266+ ' Dockerfile)"
259267 if [ -z "$base_image" ]; then
260- echo "INFO: Could not resolve base image; nothing to update"
268+ echo "INFO: No Alpine runtime image found in Dockerfile ; nothing to update"
261269 exit 0
262270 fi
263271
You can’t perform that action at this time.
0 commit comments