updates .github-ci.yaml
This commit is contained in:
parent
9a6b708aca
commit
420a419e35
1 changed files with 1 additions and 22 deletions
23
.github/workflows/.github-ci.yaml
vendored
23
.github/workflows/.github-ci.yaml
vendored
|
@ -11,25 +11,4 @@ jobs:
|
|||
# with:
|
||||
# ref: main # Specify the branch or tag in the templates repository
|
||||
|
||||
# linting with Trivy
|
||||
- name: lint
|
||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/lint/.github/workflows/golang-ci-lint.yml@main
|
||||
with:
|
||||
source: "./"
|
||||
|
||||
# build and publish image
|
||||
- name: build
|
||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/build/.github/workflows/build-docker.yml@main
|
||||
with:
|
||||
dockerfile: './Dockerfile'
|
||||
context: './shared-data/repo/'
|
||||
tag: 'gitea.cnoe.localtest.me/giteaadmin/fibonacci_go:latest'
|
||||
registry: 'gitea.cnoe.localtest.me'
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
# vulnerability scanning with Trivy
|
||||
- name: vulnerability-scan
|
||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/vulnerability-scan/.github/workflows/trivy-image-scan.yml@main
|
||||
with:
|
||||
image: gitea.cnoe.localtest.me/giteaadmin/fibonacci_go:latest # Specify Docker image name
|
||||
|
||||
|
|
Loading…
Reference in a new issue