Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Sep 11, 2024
1 parent b6e5725 commit ce52b11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
run: SKIP_WINDOWS=true make build-image-runtime
- name: Save Newest Tag
run: |
docker images --format "{{.Repository}}:{{.Tag}} {{.CreatedAt}}"
NEWEST_TAG=$(docker images --format "{{.Repository}}:{{.Tag}} {{.CreatedAt}}" | grep "rancher/rke2-runtime" | sort -k2 -r | head -n1 | awk '{print $1}')
echo "{NEWEST_TAG}={$NEWEST_TAG}" >> "$GITHUB_ENV"
Expand Down

0 comments on commit ce52b11

Please sign in to comment.