updates .github-ci.yaml

This commit is contained in:
franz.germann1 2024-12-06 09:54:52 +01:00
parent 9a6b708aca
commit 420a419e35

View file

@ -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