File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3939 with :
4040 context : .
4141 push : true
42+ platforms : linux/amd64
4243 tags : registry.cern.ch/itopcptoolkit/itopcptoolkit:latest
4344 build-args : ${{ steps.buildargs.outputs.args }}
4445 secrets : |
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ARG AB_TAG=25.2.86
66ARG TCT_VERSION=v2.24.0
77
88# ── Stage 1: build the React frontend ────────────────────────────────────────
9- FROM --platform=linux/amd64 node:20 -slim AS frontend-build
9+ FROM --platform=$BUILDPLATFORM node:24 -slim AS frontend-build
1010WORKDIR /app/frontend
1111COPY frontend/package*.json ./
1212RUN npm install
@@ -15,7 +15,8 @@ RUN npm run build
1515
1616# ── Stage 2: runtime (AnalysisBase + Flask + TopCPToolkit) ───────────────────
1717ARG AB_TAG
18- FROM --platform=linux/amd64 gitlab-registry.cern.ch/atlas/athena/analysisbase:${AB_TAG}
18+ ARG TARGETPLATFORM
19+ FROM --platform=$TARGETPLATFORM gitlab-registry.cern.ch/atlas/athena/analysisbase:${AB_TAG}
1920
2021USER root
2122SHELL ["/bin/bash" , "-c" ]
Original file line number Diff line number Diff line change 1- 0.6.1
1+ 0.6.2
Original file line number Diff line number Diff line change 77# or : docker build --secret id=cern_token,env=CERN_TOKEN --build-arg AB_TAG=25.2.86 --build-arg TCT_VERSION=v2.24.0 -t tct-gui .
88
99docker build \
10+ --platform linux/amd64 \
1011 --secret id=cern_token,env=CERN_TOKEN \
1112 --build-arg AB_TAG=25.2.86 \
1213 --build-arg TCT_VERSION=v2.24.0 \
You can’t perform that action at this time.
0 commit comments