From 358ce4ba504437dd20559a0168de0d4ce2369ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Gomez?= Date: Thu, 11 Jun 2020 00:29:29 +0200 Subject: [PATCH] Update pipelines --- .github/workflows/ci.yaml | 14 +++++--------- build/Dockerfile-controller | 2 +- build/Dockerfile-converter | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01820239..56d96664 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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" @@ -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: diff --git a/build/Dockerfile-controller b/build/Dockerfile-controller index 0edff53b..c2a07bfc 100644 --- a/build/Dockerfile-controller +++ b/build/Dockerfile-controller @@ -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 diff --git a/build/Dockerfile-converter b/build/Dockerfile-converter index d87c1480..9258e399 100644 --- a/build/Dockerfile-converter +++ b/build/Dockerfile-converter @@ -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