2019-01-31 18:56:56 -05:00
|
|
|
FROM debian:jessie-slim
|
|
|
|
|
|
|
|
|
|
# docker build -t vanessa/pull-request-action
|
|
|
|
|
|
|
|
|
|
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-02-01 11:49:59 -05:00
|
|
|
RUN apt-get update && apt-get install -y jq curl
|
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"]
|