Skip to content

Commit

Permalink
fix: error of arch to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier2p committed Jan 5, 2024
1 parent 9cdd4fc commit 38a6616
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
file: ./main.dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
file: ./website/Dockerfile
file: ./website.dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/xavier2p/helix-website
File renamed without changes.
4 changes: 2 additions & 2 deletions website/Dockerfile → website.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ FROM builder AS build
WORKDIR /helix-website

# Install packages
COPY ./package*.json ./
COPY website/package*.json ./
RUN npm clean-install

# Copy and build the project
COPY . .
COPY website .
RUN npm run docker

################################################################################
Expand Down

0 comments on commit 38a6616

Please sign in to comment.