Skip to content

Commit

Permalink
fix(semantic-release): Import npm package, fix docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
akosveres committed May 12, 2022
1 parent 664b3c5 commit d372881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Docker tags based on the following events/attributes
tags: |
type=raw,value=${{ steps.semantic.outputs.new_release_version }}
type=sha
- name: Build multi-platform images
uses: docker/build-push-action@v2
Expand All @@ -76,10 +76,8 @@ jobs:

- name: Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
env:
IMAGE: ${{ steps.docker_meta.outputs.tags }}
with:
image-ref: ${{ env.IMAGE }}
image-ref: ${{ steps.docker_meta.outputs.tags }}
format: 'table'
exit-code: '1'

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"homepage": "https://github.com/IMGARENA/checkly-operator#readme",
"devDependencies": {
"semantic-release": "^19.0.2"
"semantic-release": "^19.0.2",
"semantic-release/exec": "^6.0.3"
},
"release": {
"branches": [
Expand Down

0 comments on commit d372881

Please sign in to comment.