CI: Use Jenkins only
gitea/ansible-roles/pipeline/head There was a failure building this commit Details

This commit is contained in:
David Prevot 2022-07-28 17:24:43 +02:00
parent 6c33e11d5f
commit 9aa043d1ab
2 changed files with 0 additions and 40 deletions

View File

@ -21,11 +21,9 @@ pipeline {
def major = versions[0]
def minor = versions[0] + '.' + versions[1]
def patch = version.trim()
/* No crendentials yet
im.push(major)
im.push(minor)
im.push(patch)
*/
}
}
}
@ -40,9 +38,7 @@ pipeline {
im.inside {
sh 'echo Test needed'
}
/* No crendentials yet
im.push('latest')
*/
}
}
}

View File

@ -1,36 +0,0 @@
kind: pipeline
name: default
steps:
- name: build tagged docker image
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
repo: evolix/ansible-roles
auto_tag: true
environment:
ROLES_VERSION: $DRONE_COMMIT_SHA
when:
event:
- tag
- name: build latest docker image
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
repo: evolix/ansible-roles
tags: latest
environment:
ROLES_VERSION: $DRONE_COMMIT_SHA
when:
branch:
- unstable