add build-images stage
This commit is contained in:
parent
4db0689b69
commit
400d7f748a
1 changed files with 25 additions and 1 deletions
|
|
@ -1,8 +1,32 @@
|
||||||
stages:
|
stages:
|
||||||
|
- build-images
|
||||||
- build
|
- build
|
||||||
- release
|
- release
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
Build Docker Images:
|
||||||
|
stage: build-images
|
||||||
|
when: manual
|
||||||
|
image: docker
|
||||||
|
services:
|
||||||
|
- docker-dind
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- DISTRO:
|
||||||
|
- debian11
|
||||||
|
- ubuntu20
|
||||||
|
- ubuntu21
|
||||||
|
- ubuntu22
|
||||||
|
- mint20
|
||||||
|
- fedora34
|
||||||
|
- fedora35
|
||||||
|
- macos-x86_64
|
||||||
|
- macos-aarch64
|
||||||
|
script:
|
||||||
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
|
- make docker-$DISTRO
|
||||||
|
- docker push $CI_REGISTRY/librewolf-community/browser/bsys5/$DISTRO:latest
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
stage: build
|
stage: build
|
||||||
when: manual
|
when: manual
|
||||||
|
|
@ -34,7 +58,7 @@ Build:
|
||||||
- echo VERSION=$(cat version) >> variables.env
|
- echo VERSION=$(cat version) >> variables.env
|
||||||
- echo RELEASE=$(cat release) >> variables.env
|
- echo RELEASE=$(cat release) >> variables.env
|
||||||
- echo SOURCE_RELEASE=$(cat source_release) >> variables.env
|
- echo SOURCE_RELEASE=$(cat source_release) >> variables.env
|
||||||
- 't=$(cat version)-$(cat source_release) ; grep 1 release ; if [ ! $? ]; then t=$(cat version)-$(cat source_release)-$(cat release); fi; echo FILEVER=$t >> variables.env'
|
- "t=$(cat version)-$(cat source_release) ; grep 1 release ; if [ ! $? ]; then t=$(cat version)-$(cat source_release)-$(cat release); fi; echo FILEVER=$t >> variables.env"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- librewolf-*.deb
|
- librewolf-*.deb
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue