Merge pull request #229 from hzhhong/format-datadisk-store-containerdata #107
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: Latest image build | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
latest-image-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
cache: false | |
- name: Config ACR | |
uses: docker/login-action@v3 | |
with: | |
registry: cloudpilotai-registry.cn-hangzhou.cr.aliyuncs.com | |
username: ${{ secrets.ALIBABACLOUD_USERNAME }} | |
password: ${{ secrets.ALIBABACLOUD_PASSWORD }} | |
- uses: ko-build/setup-ko@v0.6 | |
- name: build and publish image | |
run: | | |
export KO_DOCKER_REPO=cloudpilotai-registry.cn-hangzhou.cr.aliyuncs.com/cloudpilotai/karpenter-provider-alibabacloud | |
ko build --bare github.com/cloudpilot-ai/karpenter-provider-alibabacloud/cmd/controller |