-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
generate GitHub annotations for build checks
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
frOM busybox as base | ||
Check warning on line 1 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 1 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 1 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 1 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
cOpy lint-other.Dockerfile . | ||
Check warning on line 2 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 2 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 2 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
|
||
froM busybox aS notused | ||
Check warning on line 4 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 4 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 4 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
COPY lint-other.Dockerfile . | ||
|
||
from scratch | ||
Check warning on line 7 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 7 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 7 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
COPy --from=base \ | ||
Check warning on line 8 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 8 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 8 in test/lint-other.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
/lint-other.Dockerfile \ | ||
/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
frOM busybox as base | ||
Check warning on line 1 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 1 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 1 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 1 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
cOpy lint.Dockerfile . | ||
Check warning on line 2 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 2 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 2 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 2 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
|
||
from scratch | ||
Check warning on line 4 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 4 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 4 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 4 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
MAINTAINER [email protected] | ||
Check warning on line 5 in test/lint.Dockerfile GitHub Actions / checks (latest)The MAINTAINER instruction is deprecated, use a label instead to define an image author
Check warning on line 5 in test/lint.Dockerfile GitHub Actions / checks (latest)The MAINTAINER instruction is deprecated, use a label instead to define an image author
Check warning on line 5 in test/lint.Dockerfile GitHub Actions / checks (latest)The MAINTAINER instruction is deprecated, use a label instead to define an image author
|
||
COPy --from=base \ | ||
Check warning on line 6 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 6 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 6 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
Check warning on line 6 in test/lint.Dockerfile GitHub Actions / checks (latest)All commands within the Dockerfile should use the same casing (either upper or lower)
|
||
/lint.Dockerfile \ | ||
/ | ||
|
||
CMD [ "echo", "Hello, Norway!" ] | ||
Check warning on line 10 in test/lint.Dockerfile GitHub Actions / checks (latest)Multiple instructions of the same type should not be used in the same stage
Check warning on line 10 in test/lint.Dockerfile GitHub Actions / checks (latest)Multiple instructions of the same type should not be used in the same stage
Check warning on line 10 in test/lint.Dockerfile GitHub Actions / checks (latest)Multiple instructions of the same type should not be used in the same stage
|
||
CMD [ "echo", "Hello, Sweden!" ] | ||
ENTRYPOINT my-program start | ||
Check warning on line 12 in test/lint.Dockerfile GitHub Actions / checks (latest)JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals
Check warning on line 12 in test/lint.Dockerfile GitHub Actions / checks (latest)JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
group "default" { | ||
targets = ["lint", "lint-other", "lint-inline"] | ||
} | ||
target "lint" { | ||
dockerfile = "lint.Dockerfile" | ||
} | ||
target "lint-other" { | ||
dockerfile = "lint-other.Dockerfile" | ||
} | ||
target "lint-inline" { | ||
dockerfile-inline = "FRoM alpine\nENTRYPOINT [\"echo\", \"hello\"]" | ||
} |