Update version to 9.1.0 (#281) #543
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 image | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-image: | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - name: Set up Go 1.23 | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 1.23.1 | |
| cache: false | |
| - name: Check-out code | |
| uses: actions/checkout@v4 | |
| - name: Build image | |
| run: make | |
| - name: Push images to registry | |
| if: ${{ github.repository == 'vmware/nsx-container-plugin-operator' && github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
| env: | |
| DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
| DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
| run: | | |
| echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin | |
| docker push vmware/nsx-container-plugin-operator:latest |