Skip to content

Commit 91eeb16

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
workflows: upload the toolbox image
The toolbox image is the only image not being uploaded as an artifact. Enable it for consistency and so we can make use of it in a later change. Signed-off-by: John Mulligan <[email protected]>
1 parent 712e263 commit 91eeb16

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/container-image.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ jobs:
107107
- uses: actions/checkout@v3
108108
- name: build the client image
109109
run: make KIND=client OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
110-
# Here we upload samba-client image to artifacts locally for consumption
111-
# during the samba-toolbox build process.
110+
# The client image is used as a base for the samba-toolbox build process.
112111
- name: Upload the client image
113112
uses: ishworkh/[email protected]
114113
with:
@@ -143,6 +142,13 @@ jobs:
143142
run: ${{ env.CONTAINER_CMD }} tag samba-client:${{ env.IMG_TAG }} quay.io/samba.org/samba-client:latest
144143
- name: Build the toolbox image
145144
run: make KIND=toolbox OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
145+
# Upload the toolbox image for reference and/or image push
146+
- name: Upload the toolbox image
147+
uses: ishworkh/[email protected]
148+
with:
149+
image: "samba-toolbox:${{ env.IMG_TAG }}"
150+
container_engine: ${{ env.CONTAINER_CMD }}
151+
retention_days: 1
146152

147153
test-server:
148154
strategy:

0 commit comments

Comments
 (0)