mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 11:02:55 +01:00
Save chrome and chromium deb files in package registry
This commit is contained in:
parent
fad37f305c
commit
941883094a
5 changed files with 122 additions and 74 deletions
|
|
@ -30,3 +30,23 @@
|
|||
variables:
|
||||
PUSH_CUSTOM_IMAGE: "true"
|
||||
BASE_BUILD_REGISTRY_IMAGE: $CI_REGISTRY_IMAGE
|
||||
|
||||
.cache-google-chrome:
|
||||
stage: automation
|
||||
needs: []
|
||||
before_script:
|
||||
- docker buildx create --use
|
||||
script:
|
||||
- |
|
||||
docker buildx build \
|
||||
--build-arg CI_API_V4_URL=$CI_API_V4_URL \
|
||||
--build-arg CI_PROJECT_ID=$CI_PROJECT_ID \
|
||||
--build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
-f "Dockerfile.cache-chrome" \
|
||||
.
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_SERVER_HOST == "gitlab.com"'
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule" && $CI_SERVER_HOST == "gitlab.com"'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_SERVER_HOST == "gitlab.com"'
|
||||
when: manual
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue