Add CI/CD pipeline and Docker setup for Flutter web application
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# development
|
||||
################################################################################
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: (dev) build flutter web and push to artifactory
|
||||
|
||||
steps:
|
||||
- name: tag tender-pwa image
|
||||
image: alpine/git:2.40.1
|
||||
commands:
|
||||
- APP_VERSION=pwa-$(git rev-list HEAD --count --no-merges)
|
||||
- echo "Flutter PWA Version tags $APP_VERSION"
|
||||
- echo -n "$APP_VERSION" > .tags
|
||||
- name: tender pwa push to artifactory
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: "Dockerfile"
|
||||
username: "cicd"
|
||||
password:
|
||||
from_secret: "REGISTRY_PASSWORD"
|
||||
repo: "artifactory.ravanertebat.ir/citizenclub/tm_app"
|
||||
registry: "artifactory.ravanertebat.ir"
|
||||
build_args:
|
||||
- FLUTTER_VERSION=3.29.3
|
||||
- NGINX=1.25.2-alpine3.18-slim
|
||||
|
||||
node:
|
||||
tag: aecde-docker-runner
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- dev
|
||||
event:
|
||||
- custom
|
||||
Reference in New Issue
Block a user