Skip to content

Commit

Permalink
default to build for: linux/amd64,linux/arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
shortishly committed Dec 1, 2022
1 parent e9786a3 commit d961942
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,19 @@ This is a [composite action][github-composite-action] that:
- Pushes the image to the container repository

Supporting:

- [Elixir][elixir] with the [Phoenix Framework][phoenix] using [mix][mix] to build;
- [Erlang/OTP][erlang] with [erlang.mk][erlang-mk];
- [Erlang/OTP][erlang] with [rebar3][rebar3]

Platforms:

- linux/amd64
- linux/arm64

Default will create a [multi-platform][docker-building-multiplatform]
image for both `amd64` and `arm64`.


Hello World! Simple examples for both Elixir and Erlang can be found at:
- [Elixir with Phoenix][hello-world-elixir-phx]
Expand Down Expand Up @@ -156,7 +165,7 @@ appropriate version of `erlang` or `elixir`.
## build-platforms

The platforms that are used for the build. This defaults to
`linux/amd64`.
`linux/amd64,linux/arm64`.

## build-tags

Expand All @@ -168,6 +177,7 @@ None.

[baseimages-scratch]: https://docs.docker.com/engine/userguide/eng-image/baseimages/
[docker-building-multi-stage]: https://docs.docker.com/build/building/multi-stage/
[docker-building-multiplatform]: https://docs.docker.com/build/building/multi-platform/
[docker-com]: https://www.docker.com
[dockerfile-best-practices]: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices
[elixir]: https://elixir-lang.org
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
default: make
build-platforms:
description: Build platforms
default: linux/amd64
default: linux/amd64,linux/arm64
build-tags:
description: Build tags
required: true
Expand Down

0 comments on commit d961942

Please sign in to comment.