Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 21s

This commit is contained in:
richardrobertreitz 2024-12-16 09:47:58 +00:00
parent e3c9f6fa62
commit b568e86504

View file

@ -18,15 +18,18 @@ jobs:
which trivy which trivy
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1 golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
- name: Build and publish - uses: actions/checkout@v4
uses: DevFW-CICD/build/.github/workflows/build-docker.yml@main
- name: Build
uses: https://codeberg.org/umglurf/kaniko-action@main
with: with:
dockerfile: './Dockerfile' cache: true
context: '.' cache_repo: docker.io/${{ github.repository }}/cache
tag: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest' credentials: |
registry: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live' https://index.docker.io/v1/=${{ secrets.REPO_USER }}:${{ secrets.REPO_PASSWORD }}
username: ${{ secrets.REGISTRY_USERNAME }} destinations: |
password: ${{ secrets.REGISTRY_PASSWORD }} docker.io/${{ github.repository }}:latest
push: 'true'
- name: Vulnerability Scanning - name: Vulnerability Scanning
run: | run: |