Skip to content

Commit

Permalink
Build windows container in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Jul 11, 2024
1 parent 93657b8 commit 680a38c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .gitlab/ci-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,39 @@ Ubuntu Buster:
- cd dockerfiles/ci/buster
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_TOKEN" $CI_REGISTRY
- docker buildx bake --no-cache --pull --push $PHP_VERSION

Windows:
stage: ci-build
rules:
- when: manual
needs: []
tags: ["runner:windows-docker", "windowsversion:1809"]
timeout: 1h
parallel:
matrix:
- PHP_VERSION:
- vc14-base
- vc15-base
- vs16-base
- vc14
- vc15
- vs16
- php-8.3
- php-8.2
- php-8.1
- php-8.0
- php-7.4
- php-7.3
- php-7.2
- php-7.1
- php-7.0
hooks:
pre_get_sources_script:
- git config --system core.longpaths true
- echo "{}" > C:\\Windows\\system32\\config\\systemprofile\\.docker\\config.json
- type C:\\Windows\\system32\\config\\systemprofile\\.docker\\config.json
script:
- cd dockerfiles/ci/windows
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_TOKEN" $CI_REGISTRY
- docker compose build $PHP_VERSION
- docker compose push $PHP_VERSION

0 comments on commit 680a38c

Please sign in to comment.