File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22# This workflow builds and pushes Docker images to GHCR
33name : Build Docker Images
4- permissions : {}
4+ permissions : { }
55" on " :
66 workflow_call :
77 inputs :
@@ -12,7 +12,7 @@ permissions: {}
1212 apps :
1313 required : true
1414 type : string
15- description : ' JSON array of apps to build (e.g., [{"name": "testapp", "dockerfile": "apps/testapp/Dockerfile"}])'
15+ description : ' JSON array of apps (e.g., [{"name": "testapp", "dockerfile": "apps/testapp/Dockerfile"}])'
1616
1717jobs :
1818 build-images :
2929 steps :
3030 - name : Checkout code
3131 uses : actions/checkout@v6.0.2
32-
32+
3333 - name : Set up Docker Buildx
3434 uses : docker/setup-buildx-action@v4
3535
5050 tags : ghcr.io/${{ github.repository_owner }}/${{ matrix.app.name }}:${{ inputs.image-tag }}
5151
5252 - name : Scan pushed image with Trivy
53- uses : aquasecurity/trivy-action@0.33.1
53+ uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
5454 with :
5555 scan-type : image
5656 image-ref : ghcr.io/${{ github.repository_owner }}/${{ matrix.app.name }}:${{ inputs.image-tag }}
Original file line number Diff line number Diff line change @@ -30,5 +30,5 @@ EXPOSE 26656
3030EXPOSE 26657
3131EXPOSE 26660
3232
33- ENTRYPOINT ["evgrpc" ]
33+ ENTRYPOINT ["/usr/local/bin/ evgrpc" ]
3434CMD ["start" ]
You can’t perform that action at this time.
0 commit comments