ci : add tokens to dockerfile
release-tag / release-image (push) Failing after 10s

This commit is contained in:
2024-08-06 13:36:00 +02:00
parent d18a2ab4f2
commit a3ff9596d7
+10 -3
View File
@@ -4,12 +4,19 @@ COPY package*.json ./
RUN npm install
COPY . .
FROM git.legonzaur.fr/heronfief/cards-gen:main AS svg-stage
FROM git.legonzaur.fr/heronfief/cards-gen:main AS card-svg-stage
RUN python3 -u ./src/generate_cards_mvp.py
FROM git.legonzaur.fr/heronfief/cards-gen:main AS token-svg-stage
RUN python3 -u ./src/generate_tokens_mvp.py
FROM install-stage AS build-stage
COPY --from=svg-stage /app/output/heron ./assets/images/cards/heron-svg
COPY --from=svg-stage /app/img/skins ./public/img
COPY --from=card-svg-stage /app/output/heron ./assets/images/cards/heron-svg
COPY --from=card-svg-stage /app/img/skins ./public/img
COPY --from=token-svg-stage /app/output/heron ./assets/images/tokens
COPY --from=token-svg-stage /app/img/icon ./public/img
ARG NUXT_PUBLIC_ENDPOINT
ARG NUXT_PUBLIC_DISCORD_LOGIN_ENDPOINT