Skip to content

Commit

Permalink
Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Nov 7, 2024
1 parent 1aa00a8 commit cabbcb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
docker:
name: Docker (${{ matrix.branch }})
timeout-minutes: 45
timeout-minutes: 50

strategy:
fail-fast: false
Expand Down Expand Up @@ -54,11 +54,6 @@ jobs:
- name: Build Docker images for PR
if: github.event_name == 'pull_request'
run: make docker-build
env:
# FIXME
DOCKER_PLATFORM: linux/amd64,linux/arm64
DOCKER_OUTPUT: type=image,push=true
DOCKER_TAG: aleksi/golang-tip:${{ env.GO_BRANCH }}

- name: Build Docker images for Docker Hub
if: github.event_name != 'pull_request'
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ go version

# to save time to users
go clean -cache
go install -v -race std
go install -v std
go install -race std
go install std

EOF

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GO_BRANCH ?= master
DOCKER_PLATFORM ?= linux/amd64
DOCKER_PLATFORM ?= linux
DOCKER_OUTPUT ?= type=docker
DOCKER_TAG ?= golang-tip:$(GO_BRANCH)

Expand Down

0 comments on commit cabbcb6

Please sign in to comment.