mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
test buildah platforms flag environment variables
This commit is contained in:
2
.github/workflows/releases.yml
vendored
2
.github/workflows/releases.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
tags: ${{ steps.image-metadata.outputs.tags }}
|
||||
labels: ${{ steps.image-metadata.outputs.labels }}
|
||||
containerfiles: ./Dockerfile
|
||||
archs: amd64,arm64v8,arm32v7
|
||||
platforms: linux/amd64,linux/arm64
|
||||
oci: true
|
||||
# enable build layer caching between platforms
|
||||
layers: true
|
||||
|
||||
@@ -30,6 +30,7 @@ RUN npm run build
|
||||
# We are using Github Actions: redhat-actions/buildah-build@v2 which needs manual selection of arch in base image
|
||||
# Remove TARGETARCH if docker buildx is supported in the CI release as --platform=$TARGETPLATFORM will be automatically set
|
||||
ARG TARGETARCH
|
||||
ARG TARGETPLATFORM
|
||||
FROM ${TARGETARCH}/nginx:stable-alpine AS cyberchef
|
||||
|
||||
COPY --from=builder /app/build/prod /usr/share/nginx/html/
|
||||
|
||||
Reference in New Issue
Block a user