-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparam.sh
More file actions
33 lines (26 loc) · 859 Bytes
/
Copy pathparam.sh
File metadata and controls
33 lines (26 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# =======================================================================================
# Docker image parameters
#
# Used in Docker image build scripts
# =======================================================================================
# - URL of the docker registry for push
export DOCKER_REGISTRY=ahuh
# - Name of the image to build
export IMAGE_NAME=docker
# - Array of the tag versions to build for the image
declare -x -a TAG_VERSIONS=(
28.1.0
28.1
28
latest
)
# - Map of the target (key) and tag suffix (value) for the image
# (remove map declaration for single build, without multi-stage build)
declare -x -A TAG_SUFFIXES=(
[git-bash]=git-bash
)
# Docker file name to use for build
export DOCKERFILE_NAME=Dockerfile
# Docker tag separator to use between tag version and tag suffix
export TAG_SEPARATOR=-