Skip to content

Commit 7945b92

Browse files
committed
debug arch env not affecting release step base image
1 parent e933e59 commit 7945b92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ RUN npm run build
2929
#########################################
3030
# We are using Github Actions: redhat-actions/buildah-build@v2 which seems to need manual specification of arch in build steps
3131
# Remove ARCH if docker buildx is supported in the CI release as --platform=$TARGETPLATFORM will be automatically set
32-
ARG ARCH
33-
FROM ${ARCH}/nginx:stable-alpine AS cyberchef
32+
ARG TARGETARCH
33+
FROM ${TARGETARCH}/nginx:stable-alpine AS cyberchef
34+
35+
RUN echo "I'm building for $TARGETARCH"
3436

3537
COPY --from=builder /app/build/prod /usr/share/nginx/html/

0 commit comments

Comments
 (0)