Skip to content

Commit 83d3471

Browse files
committed
add download docker image and load
1 parent f9be753 commit 83d3471

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/actions/publish-website/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ runs:
2929
repository: marle3003/mokapi
3030
excludes: prerelease, draft
3131
token: ${{ inputs.token }}
32+
- name: Download image
33+
id: download
34+
uses: actions/download-artifact@v4
35+
with:
36+
name: ${{ inputs.image-name }}
37+
path: /tmp
38+
- name: Load image
39+
run: docker load --input /tmp/mokapi.tar
40+
shell: bash
3241
- name: Run mokapi image
3342
run: docker run --name mokapi --rm -d -p 80:80 -p 8080:8080 -p 9092:9092 -p 8389:8389 -p 8025:8025 --mount type=bind,source=$(pwd)/webui/scripts/dashboard-demo/demo-configs,target=/data --env MOKAPI_Providers_File_Directory=/data ${{ inputs.image-name }}
3443
shell: bash

0 commit comments

Comments
 (0)