sssssss
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # ... on default (master/main) branch
|
||||
|
||||
stages:
|
||||
- build-image
|
||||
- test
|
||||
- build-image
|
||||
- test
|
||||
|
||||
|
||||
variables:
|
||||
variables:
|
||||
# Fetch submodules
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
# Only fetch the latest commit (shallow clone, faster)
|
||||
@@ -26,7 +26,7 @@ variables:
|
||||
|
||||
# Builds the image and pushes it to the registry
|
||||
# This image contains all the tooling necessary to run the compilation tools
|
||||
build-image:
|
||||
build-image:
|
||||
stage: build-image
|
||||
# Run image build only if packages changed
|
||||
only:
|
||||
@@ -55,8 +55,8 @@ build-image:
|
||||
.
|
||||
- docker push --all-tags $CI_REGISTRY_IMAGE # Push the image to the registry
|
||||
|
||||
# Try to compile the code inside the image to make sure it works (run docker container)
|
||||
build-test-us10:
|
||||
# Try to compile the code inside the image to make sure it works (run docker container)
|
||||
build-test-us10:
|
||||
stage: test
|
||||
image:
|
||||
name: $CI_REGISTRY_IMAGE:latest
|
||||
|
Reference in New Issue
Block a user