Skip to content

Commit 4787970

Browse files
committed
add entrypoint
1 parent 6eb54d4 commit 4787970

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
FROM golangci/golangci-lint:v1.25
2+
3+
COPY entrypoint.sh /entrypoint.sh
4+
5+
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22

3-
golangci-lint run --out-format github-actions
3+
# shellcheck disable=SC2086
4+
golangci-lint run --out-format github-actions ${FLAGS}

0 commit comments

Comments
 (0)