diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 9505779..dffdea7 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -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: |