Skip to content

Commit

Permalink
hotfix: missconfig for docker build and trivy scan in the docker work…
Browse files Browse the repository at this point in the history
…flow (#89)

## v1.2.8 - 2024-08-14
### What's Changed
**Full Changelog**: v1.2.7...v1.2.8 by @obervinov in #85
#### 🐛 Bug Fixes
* hotfix: missconfig for docker build and trivy scan in the docker workflow
  • Loading branch information
obervinov authored Aug 14, 2024
1 parent cacdbbd commit c47a6da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
mkdir results
for dockerfile in ${{ steps.find_dockerfiles.outputs.list }}; do
image_name=$(echo $dockerfile | awk -F '/' '{print $3}')
image_tag=$(cat $dockerfile | grep -i 'LABEL org.opencontainers.image.version'| awk '{print $3}')
image_tag=$(cat $dockerfile | grep -i 'ARG IMAGE_VERSION='| awk -F = '{print $2}')
trivy image --exit-code 0 --severity HIGH,CRITICAL ghcr.io/${{ github.repository }}/${image_name}:${image_tag} -f sarif -o results/trivy-results-${image_name}-${image_tag}.sarif
done
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).


## v1.2.8 - 2024-08-14
### What's Changed
**Full Changelog**: https://github.com/obervinov/_templates/compare/v1.2.7...v1.2.8 by @obervinov in https://github.com/obervinov/_templates/pull/85
#### 🐛 Bug Fixes
* hotfix: missconfig for docker build and trivy scan in the docker workflow


## v1.2.7 - 2024-08-12
### What's Changed
**Full Changelog**: https://github.com/obervinov/_templates/compare/v1.2.6...v1.2.7 by @obervinov in https://github.com/obervinov/_templates/pull/84
Expand Down

0 comments on commit c47a6da

Please sign in to comment.