Skip to content

edersonbrilhante/vilicus-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vilicus Gitlab

How to use

include:
  - remote: https://raw.githubusercontent.com/edersonbrilhante/vilicus-gitlab/main/Vilicus.gitlab-ci.yml  

# scanning a remote image
remote_image:
  extends: .vilicus
  variables:
    IMAGE: python
  tags:
    - <gitlab-runner>

# build a local image and scanning it
local_image:
  extends: .vilicus
  variables:
    IMAGE: localhost:5000/local-image:${CI_COMMIT_SHORT_SHA}
  script:
    - docker build -t localhost:5000/local-image:${CI_COMMIT_SHORT_SHA} .
    - ./run-job.sh
  tags:
    - <gitlab-runner>