ci: Add proper tag for runner

This commit is contained in:
yannk 2023-03-08 16:41:48 +01:00
parent de36a45c80
commit 6e023508d7

View file

@ -1,19 +1,19 @@
# This CI is for zipping the plugin when ready for distribution # This CI is for zipping the plugin when ready for distribution
image: alpine
stages: stages:
- build - build
- deploy - deploy
before_script:
- apk add --update zip
build-job: build-job:
stage: build stage: build
tags:
- Docker
image: alpine
before_script:
- apk add --update zip
script: script:
- echo "Zipping the plugin..." - echo "Zipping the plugin..."
- for d in */ ; do cd $d; zip -r ../${d%/}.zip *; cd .. - for d in */ ; do cd $d; zip -r ../${d%/}.zip *; cd ..
artifacts: artifacts:
paths: paths:
- '*.zip' - '*.zip'