Skip to content

Commit

Permalink
Merge pull request #116 from vonProteus/arm64
Browse files Browse the repository at this point in the history
Added support for ARM
  • Loading branch information
C9Glax authored Sep 11, 2024
2 parents 119c838 + c8b7b1f commit 5ee506e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-image-cuttingedge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]

# https://github.com/docker/login-action#docker-hub
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand All @@ -35,7 +34,7 @@ jobs:
- name: Build and push Website
uses: docker/[email protected]
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,linux/arm64
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docker-image-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker Image CI

on:
push:
branches: [ "cuttingedge" ]
branches: [ "dev" ]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -35,8 +35,9 @@ jobs:
- name: Build and push Website
uses: docker/[email protected]
with:
context: ./Website
context: .
file: ./Dockerfile
tags: glax/tranga-website:dev
#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,linux/arm64
pull: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-image-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# https://github.com/marketplace/actions/docker-setup-buildx
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3.1.0
uses: docker/setup-buildx-action@v3.3.0

# https://github.com/docker/login-action#docker-hub
- name: Login to Docker Hub
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Build and push Website
uses: docker/[email protected]
with:
context: ./
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,linux/arm64
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM nginx:alpine3.17-slim
COPY ./Website /usr/share/nginx/html
COPY ./nginx /etc/nginx
EXPOSE 80
ENV API_URL=http://tranga-api:6531
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 5ee506e

Please sign in to comment.