build: refine image publish config
Signed-off-by: Changliang Wu <changliang.wu@smartx.com>
This commit is contained in:
parent
b096f1cee2
commit
3cf13f52f8
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue