2019-12-07 21:19:22 +01:00
|
|
|
FROM alpine
|
2019-01-31 18:56:56 -05:00
|
|
|
|
2019-02-01 13:02:19 -05:00
|
|
|
# docker build -t vanessa/pull-request-action .
|
2019-01-31 18:56:56 -05:00
|
|
|
|
|
|
|
|
LABEL "com.github.actions.name"="Pull Request on Branch Push"
|
|
|
|
|
LABEL "com.github.actions.description"="Create a pull request when a branch is created or updated"
|
|
|
|
|
LABEL "com.github.actions.icon"="activity"
|
|
|
|
|
LABEL "com.github.actions.color"="yellow"
|
|
|
|
|
|
2019-12-07 21:19:22 +01:00
|
|
|
RUN apk --no-cache add curl wget git bash jq
|
2019-01-31 18:56:56 -05:00
|
|
|
COPY pull-request.sh /pull-request.sh
|
|
|
|
|
|
|
|
|
|
RUN chmod u+x /pull-request.sh
|
2019-01-31 19:01:24 -05:00
|
|
|
ENTRYPOINT ["/pull-request.sh"]
|