Skip to content

Commit 267fee3

Browse files
committed
Revert "chore: retry 'Docker build and push' on failure"
This reverts commit 91f4b76.
1 parent fa99c6d commit 267fee3

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,17 @@ jobs:
9191

9292
- name: dev - Docker build and push
9393
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
94-
uses: Wandalen/wretry.action@master
94+
uses: docker/build-push-action@v6
9595
with:
96-
action: docker/build-push-action@v6
97-
with: |
98-
context: .
99-
file: docker/Dockerfile
100-
platforms: linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7,linux/riscv64,linux/386
101-
tags: koenkk/zigbee2mqtt:latest-dev,ghcr.io/koenkk/zigbee2mqtt:latest-dev
102-
push: true
103-
build-args: |
104-
COMMIT=${{ github.sha }}
105-
VERSION=dev
106-
DATE=${{ github.event.repository.updated_at }}
96+
context: .
97+
file: docker/Dockerfile
98+
platforms: linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7,linux/riscv64,linux/386
99+
tags: koenkk/zigbee2mqtt:latest-dev,ghcr.io/koenkk/zigbee2mqtt:latest-dev
100+
push: true
101+
build-args: |
102+
COMMIT=${{ github.sha }}
103+
VERSION=dev
104+
DATE=${{ github.event.repository.updated_at }}
107105
108106
- name: dev - Publish types
109107
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
@@ -141,19 +139,17 @@ jobs:
141139
142140
- name: release - Docker build and push
143141
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
144-
uses: Wandalen/wretry.action@master
142+
uses: docker/build-push-action@v6
145143
with:
146-
action: docker/build-push-action@v6
147-
with: |
148-
context: .
149-
file: docker/Dockerfile
150-
platforms: linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7,linux/riscv64,linux/386
151-
tags: ${{ steps.meta.outputs.tags }}
152-
push: true
153-
build-args: |
154-
COMMIT=${{ github.sha }}
155-
VERSION=${{ github.ref_name }}
156-
DATE=${{ github.event.repository.updated_at }}
144+
context: .
145+
file: docker/Dockerfile
146+
platforms: linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7,linux/riscv64,linux/386
147+
tags: ${{ steps.meta.outputs.tags }}
148+
push: true
149+
build-args: |
150+
COMMIT=${{ github.sha }}
151+
VERSION=${{ github.ref_name }}
152+
DATE=${{ github.event.repository.updated_at }}
157153
158154
- name: 'release: Publish to npm'
159155
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'

0 commit comments

Comments
 (0)