CI: Add privileged tags to podman tasks

This commit is contained in:
Saibotk 2021-09-14 05:09:49 +00:00
parent 1b651c506a
commit 2bc169fc37

View file

@ -40,6 +40,8 @@ build:
package: package:
stage: package stage: package
image: quay.io/sheogorath/build-ah-engine:latest image: quay.io/sheogorath/build-ah-engine:latest
tags:
- privileged
variables: variables:
LANG: C.UTF-8 LANG: C.UTF-8
before_script: before_script:
@ -55,6 +57,8 @@ package-deploy:
image: quay.io/sheogorath/build-ah-engine:latest image: quay.io/sheogorath/build-ah-engine:latest
variables: variables:
LANG: C.UTF-8 LANG: C.UTF-8
tags:
- privileged
before_script: before_script:
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script:
@ -66,8 +70,7 @@ package-deploy:
test: test:
stage: test stage: test
tags: tags:
- dind - privileged
- docker
image: quay.io/sheogorath/build-ah-engine:latest image: quay.io/sheogorath/build-ah-engine:latest
variables: variables:
LANG: C.UTF-8 LANG: C.UTF-8
@ -86,8 +89,7 @@ test:
test-deploy: test-deploy:
stage: test stage: test
tags: tags:
- dind - privileged
- docker
image: quay.io/sheogorath/build-ah-engine:latest image: quay.io/sheogorath/build-ah-engine:latest
variables: variables:
LANG: C.UTF-8 LANG: C.UTF-8