docker-flutter-arm64/.woodpecker.yml

28 lines
790 B
YAML
Raw Normal View History

2023-10-07 20:54:56 +00:00
steps:
docker-build:
image: woodpeckerci/plugin-docker-buildx
settings:
2023-10-07 21:16:17 +00:00
# Push to my registry
2023-10-07 20:54:56 +00:00
repo: git.polynom.me/papatutuwawa/docker-flutter
registry: git.polynom.me
username:
from_secret: repository_username
password:
from_secret: repository_password
2023-10-07 21:16:17 +00:00
# Build only for ARM64
platforms: linux/arm64/v8
# Build the correct version
build_args:
- FLUTTER_VERSION=3.13.6
# Tag :<version> and :latest
tag: 3.13.6
auto_tag: true
# Save storage
purge: true
2023-10-07 20:54:56 +00:00
secrets: [ repository_username, repository_password ]
2023-10-07 21:16:17 +00:00
when:
event: [push]
path:
# Only run the CI when the pipeline or the Dockerfile changes
include: ['.woodpecker.yml', 'Dockerfile']