Support building multi-platform images

This commit is contained in:
Lars Gohr
2021-04-01 22:48:22 +02:00
parent f7aca2fea7
commit 13c6c46d98
5 changed files with 51 additions and 2 deletions

View File

@@ -188,6 +188,17 @@ with:
no_push: ${{ github.event_name == 'push' }}
```
### platforms
Use `platforms` when you want to build a multi-platform image (separated by comma).
```yaml
with:
name: myDocker/repository
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
platforms: linux/amd64,linux/arm64
```
### Tags
This action supports multiple options that tags are handled.