You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
779 B
31 lines
779 B
kind: pipeline
|
|
type: docker
|
|
name: maettleship
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: maettleship-build
|
|
image: plugins/docker
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
registry: hub.codefirst.iut.uca.fr
|
|
repo: hub.codefirst.iut.uca.fr/vincent.astolfi/maettleship
|
|
username:
|
|
from_secret: registry-username
|
|
password:
|
|
from_secret: registry-password
|
|
|
|
- name: maettleship-deployment
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
environment:
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/vincent.astolfi/maettleship:latest
|
|
CONTAINERNAME: maettleship
|
|
COMMAND: create
|
|
OVERWRITE: true
|
|
ADMINS: vincentastolfi
|
|
depends_on: [maettleship-build]
|