Remove -ubi suffix from kubectl binary version #247
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| schedule: | |
| # At 00:00 on Monday. | |
| - cron: "0 0 * * 1" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| k8s: | |
| # - "1.12" | |
| # - "1.13" | |
| # - "1.14" | |
| # - "1.15" | |
| # - "1.16" | |
| # - "1.17" | |
| # - "1.18" | |
| # - "1.19" | |
| # - "1.20" | |
| # - "1.21" | |
| # - "1.22" | |
| # - "1.23" | |
| # - "1.24" | |
| # - "1.25" | |
| # - "1.26" | |
| # - "1.27" | |
| # - "1.28" | |
| - "1.29" | |
| - "1.30" | |
| - "1.31" | |
| - "1.32" | |
| - "1.33" | |
| - "1.34" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up QEMU | |
| id: qemu | |
| uses: docker/setup-qemu-action@v3 | |
| with: | |
| cache-image: false | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| # - name: Setup upterm session | |
| # uses: lhotari/action-upterm@v1 | |
| - name: Publish to GitHub Container Registry | |
| env: | |
| REGISTRY: ghcr.io/appscode | |
| DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }} | |
| USERNAME: 1gtm | |
| run: | | |
| docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN} | |
| cd root | |
| make release RELEASE=${{ matrix.k8s }} | |
| cd ../nonroot | |
| make release RELEASE=${{ matrix.k8s }} | |
| cd ../ubi | |
| make release RELEASE=${{ matrix.k8s }} | |
| - name: Publish to Red Hat Ecosystem Catalog | |
| env: | |
| REGISTRY: ghcr.io/appscode | |
| PFLT_PYXIS_API_TOKEN: ${{ secrets.PFLT_PYXIS_API_TOKEN }} | |
| run: | | |
| curl -fsSL -o preflight https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/latest/download/preflight-linux-amd64 | |
| chmod +x preflight | |
| sudo mv preflight /usr/local/bin/preflight | |
| cd ubi | |
| make docker-certify-redhat RELEASE=${{ matrix.k8s }} |