File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 7171 labels : ${{ steps.meta.outputs.labels }}
7272 cache-from : type=gha
7373 cache-to : type=gha,mode=max
74+
75+ # Extract metadata for slim image
76+ - name : Extract metadata for proxy_only Docker
77+ id : meta-proxy
78+ uses : docker/metadata-action@v5
79+ with :
80+ images : ghcr.io/${{ github.repository }}
81+ flavor : |
82+ suffix=-slim
83+ tags : |
84+ type=semver,pattern={{version}}
85+ type=semver,pattern={{major}}.{{minor}}
86+ latest
87+
88+ # Build and push slim image
89+ - name : Build and push proxy_only Docker image
90+ uses : docker/build-push-action@v5
91+ with :
92+ context : .
93+ file : Dockerfile.proxy_only
94+ push : true
95+ platforms : linux/amd64,linux/arm64
96+ tags : ${{ steps.meta-proxy.outputs.tags }}
97+ labels : ${{ steps.meta-proxy.outputs.labels }}
98+ cache-from : type=gha,scope=proxy
99+ cache-to : type=gha,scope=proxy,mode=max
You can’t perform that action at this time.
0 commit comments