Skip to content

Commit

Permalink
Bump docker and golangci-lint github action version
Browse files Browse the repository at this point in the history
There are new versions for both golangci-lint and the docker github
action.

This commit bumps both up to latest version.

Signed-off-by: Gianluca Arbezzano <[email protected]>
  • Loading branch information
Gianluca Arbezzano committed Sep 28, 2020
1 parent 0678cbc commit 35682de
Showing 1 changed file with 17 additions and 26 deletions.
43 changes: 17 additions & 26 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: go vet
run: go vet ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
uses: golangci/golangci-lint-action@v2
with:
version: v1.30
version: v1.31
- name: go test
run: go test -coverprofile=coverage.txt ./...
- name: upload codecov
Expand Down Expand Up @@ -78,35 +78,26 @@ jobs:
- name: set tink-server permission
run: chmod +x ./cmd/tink-server/tink-server
- name: quay.io/tinkerbell/tink
uses: docker/build-push-action@v1
uses: docker/build-push-action@v2
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
repository: tinkerbell/tink
path: ./cmd/tink-server/
registry: quay.io
context: ./cmd/tink-server/
push: ${{ startsWith(github.ref, 'refs/heads/master') }}
tags: latest
tag_with_sha: true
tags:
- quay.io/tinkerbell/tink:latest
- quay.io/tinkerbell/tink:sha-${{ github.sha[0:6] }}
- name: quay.io/tinkerbell/tink-cli
uses: docker/build-push-action@v1
uses: docker/build-push-action@v2
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
repository: tinkerbell/tink-cli
path: ./cmd/tink-cli/
registry: quay.io
context: ./cmd/tink-cli/
push: ${{ startsWith(github.ref, 'refs/heads/master') }}
tags: latest
tag_with_sha: true
tags:
- quay.io/tinkerbell/tink-cli:latest
- quay.io/tinkerbell/tink-cli:sha-${{ github.sha[0:6] }}
- name: quay.io/tinkerbell/tink-worker
uses: docker/build-push-action@v1
uses: docker/build-push-action@v2
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
repository: tinkerbell/tink-worker
path: ./cmd/tink-worker/
registry: quay.io
context: ./cmd/tink-worker/
push: ${{ startsWith(github.ref, 'refs/heads/master') }}
tags: latest
tag_with_sha: true
tags:
- quay.io/tinkerbell/tink-worker:latest
- quay.io/tinkerbell/tink-worker:sha-${{ github.sha[0:6] }}

0 comments on commit 35682de

Please sign in to comment.