Skip to content

Commit

Permalink
Arch changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TBeijen committed Jan 29, 2024
1 parent 14b2e42 commit b52664a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm/v7
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ COPY . ./source
RUN hugo -e generic --source=${PWD}/source --destination=${PWD}/build/generic

# Final image
FROM --platform=${BUILDPLATFORM:-linux/amd64} nginx:stable-alpine3.17
FROM --platform=${TARGETPLATFORM:-linux/amd64} nginx:stable-alpine3.17

COPY --from=build /opt/tbnl/build/generic /usr/share/nginx/html

0 comments on commit b52664a

Please sign in to comment.