mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 11:05:59 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6922520545 | |||
| 246a1f0314 |
@@ -35,18 +35,18 @@ jobs:
|
|||||||
sudo make build
|
sudo make build
|
||||||
|
|
||||||
# docker.io/openim/openim-server:latest
|
# docker.io/openim/openim-server:latest
|
||||||
- name: Log in to Docker Hub
|
|
||||||
uses: docker/login-action@v2
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4.6.0
|
uses: docker/metadata-action@v4.6.0
|
||||||
with:
|
with:
|
||||||
images: openim/openim-server
|
images: openim/openim-server
|
||||||
|
|
||||||
|
- name: Log in to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
@@ -56,6 +56,12 @@ jobs:
|
|||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
# registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:latest
|
# registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:latest
|
||||||
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
|
id: meta2
|
||||||
|
uses: docker/metadata-action@v4.6.0
|
||||||
|
with:
|
||||||
|
images: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server
|
||||||
|
|
||||||
- name: Log in to AliYun Docker Hub
|
- name: Log in to AliYun Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -63,21 +69,21 @@ jobs:
|
|||||||
username: ${{ secrets.ALIREGISTRY_USERNAME }}
|
username: ${{ secrets.ALIREGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.ALIREGISTRY_TOKEN }}
|
password: ${{ secrets.ALIREGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
|
||||||
id: meta2
|
|
||||||
uses: docker/metadata-action@v4.6.0
|
|
||||||
with:
|
|
||||||
images: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta2.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta2.outputs.labels }}
|
||||||
|
|
||||||
|
# ghcr.io/openimsdk/openim-server:latest
|
||||||
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
|
id: meta3
|
||||||
|
uses: docker/metadata-action@v4.6.0
|
||||||
|
with:
|
||||||
|
images: ghcr.io/openimsdk/openim-server
|
||||||
|
|
||||||
# ghcr.io/openim/openim-server:latest
|
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -85,19 +91,13 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
|
||||||
id: meta3
|
|
||||||
uses: docker/metadata-action@v4.6.0
|
|
||||||
with:
|
|
||||||
images: openim/openim-server
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta3.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta3.outputs.labels }}
|
||||||
|
|
||||||
# name: OpenIM Build Docker Images
|
# name: OpenIM Build Docker Images
|
||||||
# on:
|
# on:
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ When pulling OpenIM's Docker images, you can choose the most suitable source bas
|
|||||||
|
|
||||||
```
|
```
|
||||||
bashCopy code
|
bashCopy code
|
||||||
docker pull ghcr.io/openim/openim-server:latest
|
docker pull ghcr.io/openimsdk/openim-server:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
- Pull from Alibaba Cloud:
|
- Pull from Alibaba Cloud:
|
||||||
@@ -47,7 +47,7 @@ When pulling OpenIM's Docker images, you can choose the most suitable source bas
|
|||||||
|
|
||||||
```
|
```
|
||||||
bashCopy code
|
bashCopy code
|
||||||
docker pull ghcr.io/openim/openim-chat:latest
|
docker pull ghcr.io/openimsdk/openim-chat:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
- Pull from Alibaba Cloud:
|
- Pull from Alibaba Cloud:
|
||||||
|
|||||||
Reference in New Issue
Block a user