Skip to content

Commit 49a22a9

Browse files
committed
copy all files into docker container
1 parent 63254aa commit 49a22a9

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
test:
11-
name: test
10+
unit-tests:
11+
name: unit-tests
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:

.github/workflows/pull_request_e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
test:
11-
name: test
10+
e2e-tests:
11+
name: e2e-tests
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:

contrib/docker/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ COPY .bingo/ .bingo/
99

1010
# Download modules
1111
RUN go mod download
12-
RUN go mod vendor
1312
RUN go mod download -modfile=.bingo/golangci-lint.mod
1413

15-
COPY cmd/ cmd/
16-
COPY pkg/ pkg/
17-
COPY .git/ .git/
18-
COPY Makefile Makefile
19-
14+
COPY . ./
15+
RUN rm -r bin/*
16+
RUN git status --porcelain
2017
RUN make build_code
2118

2219
# final stage

0 commit comments

Comments
 (0)