Skip to content

Commit

Permalink
Add armv7 and armv6
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEntangledAndy committed Dec 18, 2020
1 parent 9f25fa4 commit b86d6ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
if: ${{ steps.vars.outputs.HAS_SECRET_TOKEN }}
uses: docker/build-push-action@v2
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm/v7,linux/arm/v6
push: true
file: Dockerfile
tags: ${{ steps.tags.outputs.TAGS }}
Expand Down
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#################################
## SETUP ##
#################################
# This is the generic base for #
# all other dockers to follow #
#################################
FROM docker.io/alpine:edge AS setup
ARG TARGETPLATFORM

Expand All @@ -21,6 +24,9 @@ RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libg
#################################
## BUILD ##
#################################
# Install dev packages and #
# with cargo #
#################################
FROM setup AS build
ARG TARGETPLATFORM

Expand All @@ -46,7 +52,9 @@ RUN cargo build --release
#################################
## PUBLISH ##
#################################
# Create the release container. Match the base OS used to build
# Copy from build neolink and #
# prepares for execution #
#################################
FROM setup
ARG TARGETPLATFORM
ARG REPO
Expand Down

0 comments on commit b86d6ee

Please sign in to comment.