diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f28be8..0f7dfea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,8 @@ checks: script: - go fmt $(go list ./...) - go vet $(go list ./...) + tags: + - docker code coverage: stage: test @@ -26,6 +28,8 @@ code coverage: paths: - coverage.cov - coverage.html + tags: + - docker codecov.io: stage: test @@ -42,6 +46,8 @@ codecov.io: rules: - if: $CODECOV_TOKEN when: on_success + tags: + - docker # stage "sonarcloud" is only needed because of this issue: # https://gitlab.com/gitlab-org/gitlab/-/issues/30632 @@ -61,6 +67,8 @@ sonarcloud-check: - .sonar/cache script: - sonar-scanner + tags: + - docker allow_failure: true # build template @@ -71,6 +79,8 @@ sonarcloud-check: dependencies: [] script: - go build . + tags: + - docker darwin-amd64: extends: .compile