Skip to content

Commit

Permalink
Update pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Jun 10, 2020
1 parent 135afdf commit 358ce4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ on: [pull_request]
jobs:
lint:
name: Linters
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
depth: 1

- name: golangci-lint
uses: docker://reviewdog/action-golangci-lint:v1
uses: reviewdog/action-golangci-lint@v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yaml"
Expand All @@ -25,15 +23,13 @@ jobs:

tests:
name: Tests
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
depth: 1

- uses: actions/setup-go@v1
- uses: actions/setup-go@v2
with:
go-version: '1.13.3'
go-version: '1.14'

- run: make tests
env:
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile-controller
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ RUN make controller_build
FROM alpine:3.11
ENTRYPOINT ["/app/dark-controller"]
WORKDIR /app
RUN apk --update --no-cache add ca-certificates=20191127-r1 && update-ca-certificates
RUN apk --update --no-cache add ca-certificates=20191127-r2 && update-ca-certificates

COPY --from=build /app/dark-controller /app/dark-controller
2 changes: 1 addition & 1 deletion build/Dockerfile-converter
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ RUN make converter_build
FROM alpine:3.11
ENTRYPOINT ["/app/dark-converter"]
WORKDIR /workspace
RUN apk --update --no-cache add ca-certificates=20191127-r1 && update-ca-certificates
RUN apk --update --no-cache add ca-certificates=20191127-r2 && update-ca-certificates

COPY --from=build /app/dark-converter /app/dark-converter

0 comments on commit 358ce4b

Please sign in to comment.