Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 560 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 560 Bytes

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>