Skip to content

Commit

Permalink
Merge pull request #149 from Suwayomi/main
Browse files Browse the repository at this point in the history
multi arch docker?
  • Loading branch information
Robonau authored Feb 5, 2024
2 parents 9b0b69c + c68daaf commit e32aa06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -53,6 +55,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/386, linux/ppc64le, linux/s390x
context: .
build-args: version=${{ needs.GenTag.outputs.value }}
push: true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# develop stage
FROM oven/bun:1.0.18-alpine as develop-stage
FROM oven/bun:1.0.25-alpine as develop-stage
WORKDIR /app
COPY . .
ARG version="DevBuild"
Expand All @@ -10,7 +10,7 @@ FROM develop-stage as build-stage
RUN bun install
RUN bun run build
# production stage
FROM nginxinc/nginx-unprivileged:1.23.2-alpine-slim as production-stage
FROM ghcr.io/nginxinc/nginx-unprivileged:1.25.3-alpine-slim as production-stage
USER root
COPY --from=build-stage /app/build /usr/share/nginx/html
# COPY ./build /usr/share/nginx/html
Expand Down

0 comments on commit e32aa06

Please sign in to comment.