Skip to content

Commit

Permalink
get ready to release/push
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinrue committed Aug 15, 2024
1 parent a6c0b5d commit 85b754a
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ stages:
else
TAGS="-t ghcr.io/${IMAGE_NAME}:${PHP_VERSION}-${UBUNTU_RELEASE_NAME} -t ${IMAGE_NAME}:${PHP_VERSION}-${UBUNTU_RELEASE_NAME}"
fi
- docker buildx build --network host --no-cache --build-arg UBUNTU_RELEASE_NAME=${UBUNTU_RELEASE_NAME} --build-arg PHP_VERSION=${PHP_VERSION} --pull --push --platform linux/amd64,linux/arm64 ${TAGS} .
- |
if [ "${RELEASE:-false}" == "true" ]; then
PUSH="--push"
fi
- docker buildx build --network host --no-cache --build-arg UBUNTU_RELEASE_NAME=${UBUNTU_RELEASE_NAME} --build-arg PHP_VERSION=${PHP_VERSION} --pull ${PUSH} --platform linux/amd64,linux/arm64 ${TAGS} .
- docker buildx rm wp-services


Build wp-services:
Build wp-services (Test):
stage: build
extends: .kubernetes_build_docker_image
variables:
Expand All @@ -54,3 +58,16 @@ Build wp-services:
- PHP_VERSION: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
UBUNTU_RELEASE_NAME: ['jammy', 'noble']

Build wp-services:
stage: build
extends: .kubernetes_build_docker_image
variables:
IMAGE_NAME: 10up/wp-services
RELEASE: true
parallel:
matrix:
- PHP_VERSION: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
UBUNTU_RELEASE_NAME: ['jammy', 'noble']
only:
refs:
- trunk

0 comments on commit 85b754a

Please sign in to comment.