-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
25 lines (18 loc) · 841 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM alpine:3.16
ENV VERSION=0.1.2
ENV GITHUB_HEAD_REF = ""
ARG VERSION
# Github labels
LABEL "com.github.actions.name"="jenkins-action-parametrized"
LABEL "com.github.actions.description"="github action, to be able to run jenkins jobs remotely with or without parameters"
LABEL "com.github.actions.icon"="command"
LABEL "com.github.actions.color"="black"
LABEL "repository"="https://github.com/appleboy/curl-action"
LABEL "homepage"="https://github.com/enflo"
LABEL "maintainer"="Antoni Florit Homar <toniflorithomar@gmail.com>"
LABEL "version"=$VERSION
RUN apk add --update --no-cache bash curl
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]