php/.gitlab-ci.yml

36 lines
887 B
YAML
Raw Normal View History

2017-12-07 15:19:02 +11:00
stages:
- build
- build-manifest
2020-08-23 12:54:50 +10:00
- build-test
- build-manifest-test
2017-12-07 15:19:02 +11:00
variables:
2024-01-08 22:20:21 +11:00
BRANCH: ldap
VERSION: 8.3-fpm-${BRANCH}
DOCKER_HOST: tcp://docker:2375
VERSIONARCH: ${VERSION}-${ARCH}
2017-12-07 15:19:02 +11:00
cache:
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
paths:
2023-02-05 00:47:39 +11:00
- build-cache
image: docker:latest
2017-12-07 15:19:02 +11:00
services:
- docker:dind
2017-12-07 15:19:02 +11:00
before_script:
2023-02-05 00:47:39 +11:00
- if [ ! -d build-cache ]; then mkdir build-cache; fi
- if [ -n "${HTTP_PROXY}" ]; then echo "HTTP PROXY [${HTTP_PROXY}]"; sed -i -e s'/https/http/' /etc/apk/repositories; fi
- apk add git curl
2023-04-05 23:09:08 +10:00
- docker info && docker version
# env|sort
# docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST"
2018-02-27 19:53:56 +11:00
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
2017-12-07 15:19:02 +11:00
include:
- .gitlab-docker-x86_64.yml
2023-10-15 21:16:11 +11:00
- .gitlab-docker-armv7l.yml
- .gitlab-docker-arm64.yml
- .gitlab-docker-manifest.yml