ci: disable stale operator build job (operator is in bootnode/universe)

This commit is contained in:
2026-03-01 14:02:19 -08:00
parent d8ac2d165b
commit 1000925467
+2 -30
View File
@@ -148,40 +148,12 @@ jobs:
build-operator:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: false # operator build removed — operator lives in bootnode/universe repo
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get short SHA
id: sha
run: echo "short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push operator image
uses: docker/build-push-action@v5
with:
context: ./operator
file: ./operator/Dockerfile
platforms: linux/amd64
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:operator-latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:operator-${{ steps.sha.outputs.short }}
cache-from: type=gha,scope=operator
cache-to: type=gha,mode=max,scope=operator
- run: echo "Operator build skipped"
build-and-push:
runs-on: ubuntu-latest