adding CI and Dockerfile 2
continuous-integration/drone/push Build is passing Details

pull/20/head
Dorian HODIN 5 months ago
parent b981d6e105
commit 9136485952

@ -0,0 +1,31 @@
kind: pipeline
type: docker
name: Pow
trigger:
event:
- push
steps:
- name: build-pow
image: plugins/docker
settings:
dockerfile: ./src/Dockerfile
context: ./src
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/dorian.hodin/pow
username:
from_secret: SECRET_USERNAME
password:
from_secret: SECRET_PASSWD
- name: deploy-pow
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/dorian.hodin/pow:latest
CONTAINERNAME: pow
COMMAND: create
OVERWRITE: true
ADMINS: dorianhodin,aurianjault,remiarnal
depends_on: [ build-pow ]

2
.gitignore vendored

@ -159,4 +159,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#.idea/

Binary file not shown.
Loading…
Cancel
Save