Skip to content

Commit ce0fc0e

Browse files
ci: changes to use Harbor in internal CI
1 parent d50da6c commit ce0fc0e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include:
99
- '/templates/.secret-detection.yml'
1010

1111
variables:
12-
DOCKER_IMAGE_PREFIX: $CONTAINER_REGISTRY/oss-client-libraries/$CI_PROJECT_NAME-build
12+
DOCKER_IMAGE_PREFIX: ${HARBOR_REGISTRY}/${HARBOR_REGISTRY_PROJECT}/${CI_PROJECT_NAME}-build
1313
COMPOSER_HOME: /.composer
1414

1515
# Global --------------------------
@@ -45,8 +45,8 @@ build image:
4545
extends: .buildkit
4646
variables:
4747
DOCKER_IMAGE: ${DOCKER_IMAGE_PREFIX}_${PHP_VERSION}
48-
BUILDKIT_IMAGE: $DOCKER_IMAGE:latest
49-
BUILDKIT_EXTRA_ARGS: "--opt build-arg:PHP_VERSION=${PHP_VERSION} --opt build-arg:CI_CONTAINER_REPO=${CI_REGISTRY_IMAGE}"
48+
BUILDKIT_IMAGE: ${DOCKER_IMAGE}:latest
49+
BUILDKIT_EXTRA_ARGS: "--opt build-arg:PHP_VERSION=${PHP_VERSION}"
5050
parallel:
5151
matrix:
5252
- PHP_VERSION: "8.1-alpine"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Fixed
1010
* Add `.gitattributes` file to exclude irrelevant files from package download.
1111
* Thanks to [VincentLanglet](https://github.com/VincentLanglet) for [#30](https://github.com/DeepLcom/deepl-php/pull/30)
12+
* Internal CI improvements.
1213

1314

1415
## [1.5.0] - 2023-06-26

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
ARG PHP_VERSION
2-
ARG CI_CONTAINER_REPO
3-
FROM ${CI_CONTAINER_REPO}/php:${PHP_VERSION}
2+
FROM php:${PHP_VERSION}
43
RUN apk update && apk upgrade --no-cache
54
RUN apk add git -q
65

0 commit comments

Comments
 (0)