mirror of
https://github.com/Arlind-dev/sulej.ch.git
synced 2026-02-06 18:55:33 +01:00
chore(ci): rework image creation add a dev build
chore(ci): enable provenance and enrich OCI metadata for docker images chore(ci): align dev and prod docker builds with multi-arch release chore(ci): enable provenance mode=max for image build chore(ci): fix multi-arch build to support provenance mode=max chore(docker): install corepack in build image with npm chore(ci): use action for gpg import
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
FROM ghcr.io/arlind-dev/sulej.ch:build-latest AS build
|
||||
ARG BUILD_IMAGE=ghcr.io/arlind-dev/sulej.ch:build-latest
|
||||
FROM --platform=$BUILDPLATFORM ${BUILD_IMAGE} AS build
|
||||
|
||||
FROM nginx:alpine
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
ARG BUILD_IMAGE
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
COPY --from=build /output ./
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user