ansible-lint: new container
gitea/evodocker/pipeline/head This commit looks good
Details
gitea/evodocker/pipeline/head This commit looks good
Details
This commit is contained in:
parent
8560053220
commit
8cb29df2e6
15
.Jenkinsfile
15
.Jenkinsfile
|
@ -48,6 +48,21 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Build ansible-lint') {
|
||||
steps {
|
||||
script {
|
||||
def deb = docker.build("evolix/ansible-lint:build${env.BUILD_ID}", "ansible-lint")
|
||||
deb.inside {
|
||||
sh 'echo Test needed'
|
||||
}
|
||||
docker.withRegistry('', 'hub.docker') {
|
||||
deb.push('latest')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Build phpcs') {
|
||||
steps {
|
||||
script {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ansible-lint \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in New Issue