Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola committed Sep 11, 2024
1 parent 687fcbd commit 33e7066
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Build RKE2 Image
run: SKIP_WINDOWS=true make build-image-runtime
- name: Save Newest Tag
run: |
SKIP_WINDOWS=true make build-image-runtime
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 33e7066

Please sign in to comment.