build(deps): bump github.com/onsi/gomega from 1.42.1 to 1.43.0 #461
Workflow file for this run
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
| name: Build Controller Manager | |
| on: | |
| push: | |
| branches: [ main ] | |
| tags: [ 'ci-*' ] | |
| paths-ignore: | |
| - '*.md' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| - 'NOTICE' | |
| - 'PROJECT' | |
| - 'SECURITY_CONTACTS' | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths-ignore: | |
| - '*.md' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| - 'NOTICE' | |
| - 'PROJECT' | |
| - 'SECURITY_CONTACTS' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-controller-manager: | |
| if: ${{ !github.event.pull_request.draft }} | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v7 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Print tag | |
| run: make tag | |
| - name: Build controller manager image | |
| run: bash .ci/build-controller-manager.sh | |
| - name: Save controller manager image artifact | |
| run: | | |
| TAG=$(make tag) | |
| docker save "quay.io/platform9/cluster-api-provider-bringyourownhost/controller-manager:${TAG}" -o controller-manager-image.tar | |
| - name: Upload controller manager image artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: controller-manager-image | |
| path: controller-manager-image.tar | |
| retention-days: 1 | |
| - name: Log in to Quay | |
| if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/ci-') }} | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: quay.io | |
| username: ${{ secrets.QUAY_USERNAME }} | |
| password: ${{ secrets.QUAY_TOKEN }} | |
| - name: Push controller manager image | |
| if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/ci-') }} | |
| run: | | |
| TAG=$(make --no-print-directory tag) | |
| make docker-push IMG="quay.io/platform9/cluster-api-provider-bringyourownhost/controller-manager:${TAG}" |