@@ -17,11 +17,11 @@ jobs:
17
17
with :
18
18
go-version : ' ^1.16'
19
19
20
- # - name: Lint
21
- # uses: golangci/golangci-lint-action@v2
22
- # with:
23
- # version: v1.32.2
24
- # args: --timeout=5m
20
+ - name : Lint
21
+ uses : golangci/golangci-lint-action@v2
22
+ with :
23
+ version : v1.32.2
24
+ args : --timeout=5m
25
25
26
26
- name : Get Kubebuilder Version
27
27
id : get-kubebuilder-version
@@ -52,29 +52,29 @@ jobs:
52
52
- name : Install Kubebuilder
53
53
run : make kubebuilder
54
54
55
- # - name: Run tests
56
- # run: make test
55
+ - name : Run tests
56
+ run : make test
57
57
58
- # - name: Figure out if running fork PR
59
- # id: fork
60
- # run: '["${{ secrets.DOCKER_REGISTRY_TOKEN }}" == ""] && echo "::set-output name=is_fork_pr::true" || echo "::set-output name=is_fork_pr::false"'
58
+ - name : Figure out if running fork PR
59
+ id : fork
60
+ run : ' ["${{ secrets.DOCKER_REGISTRY_TOKEN }}" == ""] && echo "::set-output name=is_fork_pr::true" || echo "::set-output name=is_fork_pr::false"'
61
61
62
- # - name: Docker Login
63
- # uses: docker/login-action@v1
64
- # with:
65
- # registry: ${{ secrets.DOCKER_REGISTRY }}
66
- # username: ${{ secrets.DOCKER_REGISTRY_USER }}
67
- # password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
68
- # if: steps.fork.outputs.is_fork_pr == 'false'
62
+ - name : Docker Login
63
+ uses : docker/login-action@v1
64
+ with :
65
+ registry : ${{ secrets.DOCKER_REGISTRY }}
66
+ username : ${{ secrets.DOCKER_REGISTRY_USER }}
67
+ password : ${{ secrets.DOCKER_REGISTRY_TOKEN }}
68
+ if : steps.fork.outputs.is_fork_pr == 'false'
69
69
70
- # - name: Build Docker image
71
- # run: |
72
- # export DOCKER_TAG=pr-${GITHUB_HEAD_REF}
73
- # make docker-build
70
+ - name : Build Docker image
71
+ run : |
72
+ export DOCKER_TAG=pr-${GITHUB_HEAD_REF}
73
+ make docker-build
74
74
75
- # - name: Push Docker image
76
- # run: |
77
- # # pull request images are prefixed with 'pr' to prevent them from overriding released images
78
- # export DOCKER_TAG=pr-${GITHUB_HEAD_REF}
79
- # make docker-push
80
- # if: steps.fork.outputs.is_fork_pr == 'false'
75
+ - name : Push Docker image
76
+ run : |
77
+ # pull request images are prefixed with 'pr' to prevent them from overriding released images
78
+ export DOCKER_TAG=pr-${GITHUB_HEAD_REF}
79
+ make docker-push
80
+ if : steps.fork.outputs.is_fork_pr == 'false'
0 commit comments