mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
chore(ci): add retry
This commit is contained in:
parent
c541435b09
commit
bd3218f7cc
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -149,8 +149,11 @@ jobs:
|
|||||||
password: ${{ secrets.ALI_DOCKER_PASSWORD }}
|
password: ${{ secrets.ALI_DOCKER_PASSWORD }}
|
||||||
- name: Build and push main
|
- name: Build and push main
|
||||||
if: ${{ steps.get-info.outputs.branch == 'main' }}
|
if: ${{ steps.get-info.outputs.branch == 'main' }}
|
||||||
uses: docker/build-push-action@v3
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
|
attempt_limit: 3
|
||||||
|
action: docker/build-push-action@v3
|
||||||
|
with: |
|
||||||
context: ./docker/nocobase
|
context: ./docker/nocobase
|
||||||
file: ./docker/nocobase/Dockerfile
|
file: ./docker/nocobase/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
@ -158,8 +161,11 @@ jobs:
|
|||||||
tags: nocobase/nocobase:main,nocobase/nocobase:latest,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:main,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:latest,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
|
tags: nocobase/nocobase:main,nocobase/nocobase:latest,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:main,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:latest,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
|
||||||
- name: Build and push next
|
- name: Build and push next
|
||||||
if: ${{ steps.get-info.outputs.branch == 'next' }}
|
if: ${{ steps.get-info.outputs.branch == 'next' }}
|
||||||
uses: docker/build-push-action@v3
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
|
attempt_limit: 3
|
||||||
|
action: docker/build-push-action@v3
|
||||||
|
with: |
|
||||||
context: ./docker/nocobase
|
context: ./docker/nocobase
|
||||||
file: ./docker/nocobase/Dockerfile.next
|
file: ./docker/nocobase/Dockerfile.next
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user