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
|
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: |
|
||||||
|
|
Loading…
Reference in a new issue