Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 21s
Some checks failed
ci-workflow / ci (push) Failing after 21s
This commit is contained in:
parent
e3c9f6fa62
commit
b568e86504
1 changed files with 11 additions and 8 deletions
19
.github/workflows/.github-ci.yaml
vendored
19
.github/workflows/.github-ci.yaml
vendored
|
@ -18,15 +18,18 @@ jobs:
|
|||
which trivy
|
||||
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||
|
||||
- name: Build and publish
|
||||
uses: DevFW-CICD/build/.github/workflows/build-docker.yml@main
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
uses: https://codeberg.org/umglurf/kaniko-action@main
|
||||
with:
|
||||
dockerfile: './Dockerfile'
|
||||
context: '.'
|
||||
tag: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest'
|
||||
registry: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live'
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
cache: true
|
||||
cache_repo: docker.io/${{ github.repository }}/cache
|
||||
credentials: |
|
||||
https://index.docker.io/v1/=${{ secrets.REPO_USER }}:${{ secrets.REPO_PASSWORD }}
|
||||
destinations: |
|
||||
docker.io/${{ github.repository }}:latest
|
||||
push: 'true'
|
||||
|
||||
- name: Vulnerability Scanning
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue