From 153c335ed15c5d032f6c2768d25e61af9131f044 Mon Sep 17 00:00:00 2001 From: Andrew Jarvis Date: Wed, 21 Feb 2024 00:53:04 -0500 Subject: [PATCH] More fixes --- .github/workflows/build-and-deploy.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ffa5fdb..84c527f 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -38,8 +38,8 @@ jobs: - name: Build and push image run: | - docker buildx build --platform linux/arm64 --target release -t "${{ secrets.REGISTRY }}/$IMAGE_NAME:$IMAGE_TAG" --push . + docker buildx build --platform linux/arm64/v8 --target release -t "${{ secrets.REGISTRY }}/$IMAGE_NAME:$IMAGE_TAG" --push . - name: Build and push dracula image run: | - docker buildx build --build-arg BOT_PHRASES_URL=${{ secrets.DRACULA_URL }}" --platform linux/arm64 --target release -t "${{ secrets.REGISTRY }}/$IMAGE_NAME-dracula:$IMAGE_TAG" --push . + docker buildx build --platform linux/arm64/v8 --target release -t "${{ secrets.REGISTRY }}/$IMAGE_NAME-dracula:$IMAGE_TAG" --build-arg BOT_PHRASES_URL=${{ secrets.DRACULA_URL }}" --push . diff --git a/Dockerfile b/Dockerfile index 547500b..2ba71f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM arm64v8/node:14.15.3-alpine AS builder +FROM node:14.15.3-alpine AS builder WORKDIR /app COPY package*.json . RUN npm install