File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 86
86
type=sha,prefix=
87
87
type=semver,pattern={{version}}
88
88
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
+
89
98
- name : Load artifacts
90
99
uses : actions/download-artifact@v4
91
100
with :
@@ -106,3 +115,14 @@ jobs:
106
115
labels : ${{ steps.meta.outputs.labels }}
107
116
platforms : linux/amd64,linux/arm64
108
117
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