Skip to content
Snippets Groups Projects
Commit 39b898ec authored by Andri Joos's avatar Andri Joos :blush:
Browse files

Merge branch 'multi_version_image'

parents 182f2dc9 1170fd5d
No related branches found
No related tags found
Pipeline #7616 passed with stage
in 14 minutes and 51 seconds
......@@ -3,9 +3,20 @@ include:
ref: master
file: docker_hub.gitlab-ci.yml
build:
.build_flutter_base:
extends: .build_image_job_template
variables:
BUILD_ARGS: FLUTTER_VERSION=${VERSION}
.build_old_flutter_base:
extends: .build_old_version
variables:
BUILD_ARGS: FLUTTER_VERSION=${VERSION}
"3.24.5":
extends: .build_flutter_base
variables:
DOCKER_BUILDX_PLATFORMS: linux/amd64
IMAGE_BASENAME: ${IMAGE_PREFIX}/flutter
IMAGE_NAME: ${IMAGE_BASENAME}:3.24.5,${IMAGE_BASENAME}:3.24,${IMAGE_BASENAME}:3
VERSION: 3.24.5
IMAGE_NAME: ${IMAGE_BASENAME}:${VERSION},${IMAGE_BASENAME}:3.24,${IMAGE_BASENAME}:3
......@@ -4,12 +4,24 @@
"version": "2.0.0",
"tasks": [
{
"label": "docker build",
"label": "build",
"command": "docker",
"args": [
"build",
"."
]
}
]
"--build-arg",
"FLUTTER_VERSION=${input:flutterVersion}",
".",
],
},
],
"inputs": [
{
"id": "flutterVersion",
"type": "pickString",
"description": "Choose flutter version",
"options": [
"3.24.5",
],
},
],
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment