Skip to content

Commit 8b2d583

Browse files
committed
feat: add go relase
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
1 parent 2ce44dc commit 8b2d583

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/build-docker-image.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
- name: Check out the repo
3030
uses: actions/checkout@v3
3131

32+
# build chat
33+
- name: Build chat
34+
run: |
35+
sudo make build
36+
cd scripts
37+
sudo ./build_all_service.sh
38+
3239
# docker.io/openim/openim-server:latest
3340
- name: Log in to Docker Hub
3441
uses: docker/login-action@v2

.goreleaser.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -315,18 +315,18 @@ milestones:
315315
# Default: '{{ .Tag }}'
316316
name_template: "Current Release"
317317

318-
publishers:
319-
- name: "fury.io"
320-
ids:
321-
- packages
322-
dir: "{{ dir .ArtifactPath }}"
323-
cmd: |
324-
bash -c '
325-
if [[ "{{ .Tag }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
326-
curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/{{ .Env.USERNAME }}/
327-
else
328-
echo "Skipping deployment: Non-production release detected"
329-
fi'
318+
# publishers:
319+
# - name: "fury.io"
320+
# ids:
321+
# - packages
322+
# dir: "{{ dir .ArtifactPath }}"
323+
# cmd: |
324+
# bash -c '
325+
# if [[ "{{ .Tag }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
326+
# curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/{{ .Env.USERNAME }}/
327+
# else
328+
# echo "Skipping deployment: Non-production release detected"
329+
# fi'
330330

331331
checksum:
332332
name_template: "{{ .ProjectName }}_checksums.txt"

0 commit comments

Comments
 (0)