build and push binaries images when a PR is merged or a tag pushed

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours
2023-03-14 11:08:04 +01:00
committed by Nicolas De loof
parent 200f47e5be
commit 643557d534
3 changed files with 57 additions and 1 deletions

View File

@@ -168,6 +168,8 @@ FROM binary-unix AS binary-linux
FROM scratch AS binary-windows
COPY --link --from=build /usr/bin/docker-compose /docker-compose.exe
FROM binary-$TARGETOS AS binary
# enable scanning for this stage
ARG BUILDKIT_SBOM_SCAN_STAGE=true
FROM --platform=$BUILDPLATFORM alpine AS releaser
WORKDIR /work