Skip to content

Commit

Permalink
copy all files into docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
eranra committed Mar 31, 2022
1 parent 63254aa commit 49a22a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [ main ]

jobs:
test:
name: test
unit-tests:
name: unit-tests
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [ main ]

jobs:
test:
name: test
e2e-tests:
name: e2e-tests
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
9 changes: 3 additions & 6 deletions contrib/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ COPY .bingo/ .bingo/

# Download modules
RUN go mod download
RUN go mod vendor
RUN go mod download -modfile=.bingo/golangci-lint.mod

COPY cmd/ cmd/
COPY pkg/ pkg/
COPY .git/ .git/
COPY Makefile Makefile

COPY . ./
RUN rm -r bin/*
RUN git status --porcelain
RUN make build_code

# final stage
Expand Down

0 comments on commit 49a22a9

Please sign in to comment.