Skip to content

Commit

Permalink
Fix docker image push
Browse files Browse the repository at this point in the history
  • Loading branch information
andifalk committed Oct 8, 2023
1 parent 7c501a5 commit 63329f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build image and push
run: docker build . --file Dockerfile --platform linux/amd64 --tag "docker.io/andifalk/supply-chain-security:latest"
- name: Build image
run: docker build . --file Dockerfile --platform linux/amd64 --tag "andifalk/supply-chain-security:latest"
- name: Push image
run: docker push andifalk/supply-chain-security:latest
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# supply-chain-security
![build](https://github.com/andifalk/supply-chain-security/actions/workflows/build.yml/badge.svg)
![snyk](https://github.com/andifalk/supply-chain-security/actions/workflows/snyk.yml/badge.svg)
![codeql](https://github.com/andifalk/supply-chain-security/actions/workflows/codeql.yml/badge.svg)

# Supply Chain Security

Demos for software supply chain security

0 comments on commit 63329f4

Please sign in to comment.