From da6169bba9fe55b372a5bb9e03e777bc3ee3840e Mon Sep 17 00:00:00 2001 From: vonProteus Date: Sat, 31 Aug 2024 19:36:59 +0200 Subject: [PATCH] Added support for ARM --- .github/workflows/docker-image-cuttingedge.yml | 4 ++-- .github/workflows/docker-image-dev.yml | 4 ++-- .github/workflows/docker-image-master.yml | 4 ++-- Dockerfile | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-image-cuttingedge.yml b/.github/workflows/docker-image-cuttingedge.yml index d9bd4a0..56a2d09 100644 --- a/.github/workflows/docker-image-cuttingedge.yml +++ b/.github/workflows/docker-image-cuttingedge.yml @@ -35,10 +35,10 @@ jobs: - name: Build and push Website uses: docker/build-push-action@v4.1.1 with: - context: ./Website + context: . file: ./Dockerfile #platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 pull: true push: true tags: | diff --git a/.github/workflows/docker-image-dev.yml b/.github/workflows/docker-image-dev.yml index a8d6df0..cb704b3 100644 --- a/.github/workflows/docker-image-dev.yml +++ b/.github/workflows/docker-image-dev.yml @@ -35,10 +35,10 @@ jobs: - name: Build and push Website uses: docker/build-push-action@v4.1.1 with: - context: ./Website + context: . file: ./Dockerfile #platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 pull: true push: true tags: | diff --git a/.github/workflows/docker-image-master.yml b/.github/workflows/docker-image-master.yml index 49e2f7d..c57ab15 100644 --- a/.github/workflows/docker-image-master.yml +++ b/.github/workflows/docker-image-master.yml @@ -37,10 +37,10 @@ jobs: - name: Build and push Website uses: docker/build-push-action@v4.1.1 with: - context: ./Website + context: . file: ./Dockerfile #platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 pull: true push: true tags: | diff --git a/Dockerfile b/Dockerfile index d178671..a515396 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM nginx:alpine3.17-slim -COPY . /usr/share/nginx/html +COPY ./Website /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file