forked from super-linter/super-linter
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b012d72
commit 7570e84
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,12 @@ FROM assignuser/chktex-alpine:v0.1.0 as chktex | |
################## | ||
FROM python:alpine | ||
|
||
############################ | ||
# Get the build arguements # | ||
############################ | ||
ARG BUILD_DATE | ||
ARG BUILD_VERSION | ||
|
||
######################################### | ||
# Label the instance and set maintainer # | ||
######################################### | ||
|
@@ -32,13 +38,14 @@ LABEL com.github.actions.name="GitHub Super-Linter" \ | |
com.github.actions.icon="code" \ | ||
com.github.actions.color="red" \ | ||
maintainer="GitHub DevOps <[email protected]>" \ | ||
org.opencontainers.image.created=$BUILD_DATE \ | ||
org.opencontainers.image.version=$BUILD_VERSION \ | ||
org.opencontainers.image.authors="GitHub DevOps <[email protected]>" \ | ||
org.opencontainers.image.url="https://github.com/github/super-linter" \ | ||
org.opencontainers.image.documentation="https://github.com/github/super-linter" \ | ||
org.opencontainers.image.vendor="GitHub" \ | ||
org.opencontainers.image.description="Lint your code base with GitHub Actions" | ||
|
||
|
||
################################ | ||
# Set ARG values used in Build # | ||
################################ | ||
|