build: refine image publish config

Signed-off-by: Changliang Wu <changliang.wu@smartx.com>
This commit is contained in:
Changliang Wu 2024-11-13 14:21:08 +08:00 committed by zwtop
parent b096f1cee2
commit 3cf13f52f8
1 changed files with 1 additions and 4 deletions

View File

@ -5,9 +5,6 @@ on:
branches:
- main
env:
cache-registry: 'docker-registry-cache.docker-registry.svc:5000'
jobs:
build:
runs-on: [self-hosted, pod]
@ -22,4 +19,4 @@ jobs:
password: ${{ secrets.HARBOR_PUSH_TOKEN }}
- name: Build and push latest image
run: TAG_SUFFIX=latest docker buildx bake "https://github.com/everoute/actions-runner-controller.git#main"
run: docker buildx bake "https://github.com/everoute/actions-runner-controller.git#main"