build(deps): bump gocv.io/x/gocv from 0.41.0 to 0.43.0 #81
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will build a golang project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
| name: Go | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| tags: ["V*.*.*"] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| packages: write | |
| attestations: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Buildah Action | |
| uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 | |
| with: | |
| image: phantom | |
| tags: ${{ github.event_type == 'push' && github.ref_name || github.sha }} | |
| containerfiles: | | |
| ./Containerfile | |
| - name: Run go vet | |
| run: podman run phantom:${{ github.sha }} go vet -v ./... | |
| - name: Run go test | |
| run: podman run phantom:${{ github.sha }} go test -v ./... | |
| - name: Buildah Action | |
| # Push events mean either a tag or main branch | |
| if: github.event_name == 'push' | |
| uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 | |
| with: | |
| image: phantom | |
| tags: ${{ github.ref_name }} | |
| containerfiles: | | |
| ./Containerfile | |
| # Push the image to GHCR (Image Registry) | |
| - name: Push To GHCR | |
| # Push events mean either a tag or main branch | |
| if: github.event_name == 'push' | |
| uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8 | |
| id: push | |
| with: | |
| image: phantom | |
| tags: ${{ github.ref_name }} | |
| registry: ghcr.io/bugbundle | |
| username: ${{ github.actor }} | |
| password: ${{ github.token }} | |
| extra-args: | | |
| --disable-content-trust |