Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
CI: ensure that Dockerfile actually builds
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Aug 4, 2020
1 parent 84cae8d commit f563c04
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ task:
get_script: go get ./...
build_script: go build ./...
test_script: go test ./...


docker_builder:
name: Test Docker Build
build_script: docker build .

task:
name: Build Binaries
only_if: $CIRRUS_PR != ''
Expand All @@ -26,7 +30,9 @@ task:
task:
name: Release
only_if: $CIRRUS_TAG != ''
depends_on: Test
depends_on:
- Test
- Test Docker Build
env:
GITHUB_TOKEN: ENCRYPTED[!98ace8259c6024da912c14d5a3c5c6aac186890a8d4819fad78f3e0c41a4e0cd3a2537dd6e91493952fb056fa434be7c!]
container:
Expand Down

0 comments on commit f563c04

Please sign in to comment.