mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 17:19:25 +00:00
just renamed the jobs
This commit is contained in:
parent
b579410f4b
commit
f3ec64108b
1 changed files with 9 additions and 9 deletions
|
|
@ -9,12 +9,12 @@ services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- collect_stage
|
- collect
|
||||||
- build_stage
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
build_collect:
|
collect:
|
||||||
stage: collect_stage
|
stage: collect
|
||||||
image: python:bullseye
|
image: python:bullseye
|
||||||
script:
|
script:
|
||||||
- git clone https://github.com/sudhanshu16/openwrt-firmware-selector.git
|
- git clone https://github.com/sudhanshu16/openwrt-firmware-selector.git
|
||||||
|
|
@ -25,8 +25,8 @@ build_collect:
|
||||||
paths:
|
paths:
|
||||||
- openwrt-firmware-selector
|
- openwrt-firmware-selector
|
||||||
|
|
||||||
build_stage:
|
build:
|
||||||
stage: build_stage
|
stage: build
|
||||||
image: node:lts-alpine
|
image: node:lts-alpine
|
||||||
script:
|
script:
|
||||||
- npm install json
|
- npm install json
|
||||||
|
|
@ -35,13 +35,13 @@ build_stage:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn build
|
- yarn build
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_collect
|
- collect
|
||||||
artifacts:
|
artifacts:
|
||||||
name: 'build_${CI_COMMIT_REF_NAME}'
|
name: 'build_${CI_COMMIT_REF_NAME}'
|
||||||
paths:
|
paths:
|
||||||
- openwrt-firmware-selector/build/
|
- openwrt-firmware-selector/build/
|
||||||
|
|
||||||
deploy_docker:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
||||||
|
|
@ -53,4 +53,4 @@ deploy_docker:
|
||||||
- docker buildx create --use --name A$CI_COMMIT_SHORT_SHA
|
- docker buildx create --use --name A$CI_COMMIT_SHORT_SHA
|
||||||
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE_TAG -t $CI_REGISTRY_IMAGE:latest -t $D_IMAGE_TAG -t $D_LATEST_TAG .
|
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE_TAG -t $CI_REGISTRY_IMAGE:latest -t $D_IMAGE_TAG -t $D_LATEST_TAG .
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_stage
|
- build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue