Skip to content

Commit d4311b9

Browse files
committed
chore: set timeouts on ghcr build and push
1 parent bc11d0f commit d4311b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/.go.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
1312
steps:
1413
- name: set up go 1.22.0
1514
uses: actions/setup-go@v4
@@ -70,6 +69,7 @@ jobs:
7069
- name: build and push master image to ghcr.io
7170
if: ${{ github.ref == 'refs/heads/master' }}
7271
uses: docker/build-push-action@v5
72+
timeout-minutes: 3
7373
continue-on-error: true
7474
with:
7575
push: true
@@ -90,6 +90,7 @@ jobs:
9090
if: ${{ startsWith(github.ref, 'refs/tags/') }}
9191
uses: docker/build-push-action@v5
9292
continue-on-error: true
93+
timeout-minutes: 3
9394
with:
9495
push: true
9596
context: .

0 commit comments

Comments
 (0)