CI: Use Jenkins only
gitea/ansible-roles/pipeline/head There was a failure building this commit
Details
gitea/ansible-roles/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
6c33e11d5f
commit
9aa043d1ab
|
@ -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')
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
36
.drone.yml
36
.drone.yml
|
@ -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
|
||||
|
Loading…
Reference in New Issue