Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@ jobs:
context: app
file: docker/Dockerfile
push: true
tags: |
ghcr.io/amfelso/pi-agent:${{ env.SHORT_SHA }}
ghcr.io/amfelso/pi-agent:latest
tags: ghcr.io/amfelso/pi-agent:${{ env.SHORT_SHA }}
platforms: linux/arm64
- name: Scan image
uses: aquasecurity/trivy-action@master
with:
image-ref: ghcr.io/amfelso/pi-agent:${{ env.SHORT_SHA }}
format: table
exit-code: 1
severity: CRITICAL,HIGH
- name: Tag as latest
run: |
docker buildx imagetools create \
-t ghcr.io/amfelso/pi-agent:latest \
ghcr.io/amfelso/pi-agent:${{ env.SHORT_SHA }}
Loading