File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,17 @@ jobs:
4040 image_digest : ${{ steps.build.outputs.digest }}
4141 steps :
4242 - uses : actions/checkout@v3
43- - id : meta
43+ - id : meta_operator
4444 uses : docker/metadata-action@v4
4545 with :
4646 images : tensorfusion/tensor-fusion-operator
4747 tags : type=semver,pattern={{version}},value=${{needs.release.outputs.version}}
48+
49+ - id : meta_node_discovery
50+ uses : docker/metadata-action@v4
51+ with :
52+ images : tensorfusion/tensor-fusion-node-discovery
53+ tags : type=semver,pattern={{version}},value=${{needs.release.outputs.version}}
4854
4955 - name : Login to DockerHub
5056 uses : docker/login-action@v2
5965 push : true
6066 build-args : |
6167 CMD=operaotr
62- tags : ${{ steps.meta.outputs.tags }}
63- labels : ${{ steps.meta.outputs.labels }}
68+ tags : ${{ steps.meta_operator.outputs.tags }}
69+ labels : ${{ steps.meta_operator.outputs.labels }}
70+ no-cache : true
71+
72+ - name : Build and push
73+ uses : docker/build-push-action@v3
74+ with :
75+ context : .
76+ push : true
77+ build-args : |
78+ CMD=operaotr
79+ tags : ${{ steps.meta_node_discovery.outputs.tags }}
80+ labels : ${{ steps.meta_node_discovery.outputs.labels }}
6481 no-cache : true
You can’t perform that action at this time.
0 commit comments