Skip to content

cluster-autoscaler: Upgrade to k8s 1.29 #218

cluster-autoscaler: Upgrade to k8s 1.29

cluster-autoscaler: Upgrade to k8s 1.29 #218

name: check-cluster-autoscaler-builds
on:
pull_request:
paths:
- "cluster-autoscaler/ca.tag"
- "cluster-autoscaler/ca.patch"
- "cluster-autoscaler/Dockerfile"
- ".github/workflows/check-ca-builds.yaml"
push:
branches:
- main
paths:
- "cluster-autoscaler/ca.tag"
- "cluster-autoscaler/ca.patch"
- "cluster-autoscaler/Dockerfile"
- ".github/workflows/check-ca-builds.yaml"
jobs:
build-ca:
runs-on: [ self-hosted, gen3, small ]
steps:
- uses: actions/checkout@v4
- name: set custom docker config directory
uses: neondatabase/dev-actions/set-docker-config-dir@6094485bf440001c94a94a3f9e221e81ff6b6193
- uses: docker/setup-buildx-action@v3
- name: Login to Docker cache registry
uses: docker/login-action@v3
with:
registry: cache.neon.build
username: ${{ secrets.NEON_CI_DOCKERCACHE_USERNAME }}
password: ${{ secrets.NEON_CI_DOCKERCACHE_PASSWORD }}
- name: Build cluster-autoscaler image
uses: docker/build-push-action@v6
with:
context: cluster-autoscaler
platforms: linux/amd64
push: false
file: cluster-autoscaler/Dockerfile
cache-from: type=registry,ref=cache.neon.build/cluster-autoscaler-neonvm:cache