fix: update load file logic. (#2700)

* refactor: add GetAdminToken interface.

* update config.

* update workflows logic.

* feat: improve publish docker image workflows

* update condition logic.

* fix: update load file logic.
pull/2703/head
Monet Lee 3 months ago committed by GitHub
parent 93f6c92efa
commit a87829c87f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -97,21 +97,6 @@ jobs:
# exit 0 # exit 0
# fi # fi
publish-docker-images:
runs-on: ubuntu-latest
needs: build-and-test
if: success()
steps:
- uses: actions/checkout@v4
with:
path: main-repo
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Load Docker image from file - name: Load Docker image from file
run: docker load -i image.tar run: docker load -i image.tar
@ -123,8 +108,6 @@ jobs:
openim/openim-server openim/openim-server
ghcr.io/openimsdk/openim-server ghcr.io/openimsdk/openim-server
registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server
# generate Docker tags based on the following events/attributes
tags: | tags: |
type=ref,event=tag type=ref,event=tag
type=schedule type=schedule

Loading…
Cancel
Save