mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
✨ Support building multi-platform images
This commit is contained in:
11
README.md
11
README.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user