File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 8686 type=sha,prefix=
8787 type=semver,pattern={{version}}
8888
89+ - name : Extract metadata (tags, labels) for Docker
90+ id : meta_wolfi
91+ uses : docker/metadata-action@v5
92+ with :
93+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
94+ tags : |
95+ type=sha,prefix=,suffix=-wolfi
96+ type=semver,pattern={{version}},suffix=-wolfi
97+
8998 - name : Load artifacts
9099 uses : actions/download-artifact@v4
91100 with :
@@ -106,3 +115,14 @@ jobs:
106115 labels : ${{ steps.meta.outputs.labels }}
107116 platforms : linux/amd64,linux/arm64
108117 build-args : " BIN_PATH=artifacts/wasmcloud-operator"
118+
119+ - name : Build and push Docker image (wolfi)
120+ uses : docker/build-push-action@v6
121+ with :
122+ push : true
123+ context : .
124+ file : ' ./Dockerfile.wolfi'
125+ tags : ${{ steps.meta_wolfi.outputs.tags }}
126+ labels : ${{ steps.meta_wolfi.outputs.labels }}
127+ platforms : linux/amd64,linux/arm64
128+ build-args : " BIN_PATH=artifacts/wasmcloud-operator"
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1
2+ FROM chainguard/wolfi-base:latest
3+ ARG BIN_PATH
4+ ARG TARGETARCH
5+
6+ COPY ${BIN_PATH}-${TARGETARCH} /usr/local/bin/wasmcloud-operator
7+ ENTRYPOINT ["/usr/local/bin/wasmcloud-operator"]
You can’t perform that action at this time.
0 commit comments