zammad-docker-compose/.github/docker-image-build.sh
André Bauer 581434287c
github action test (#143)
* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-06 18:50:38 +01:00

15 lines
462 B
Bash
Executable File

#!/usr/bin/env bash
#
# build zammads docker & docker-compose images
set -o errexit
set -o pipefail
DOCKER_IMAGES="zammad zammad-elasticsearch zammad-postgresql"
# shellcheck disable=SC2153
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
echo "Build Zammad Docker image ${DOCKER_IMAGE} for local test"
docker build --pull --no-cache --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t "${DOCKER_IMAGE}" -f "containers/${DOCKER_IMAGE}/Dockerfile" .
done