testing using hub

This commit is contained in:
Vanessa Sochat
2019-02-01 13:02:19 -05:00
parent a5ea3d441c
commit 8913abe300
2 changed files with 10 additions and 16 deletions

View File

@@ -1,13 +1,16 @@
FROM debian:jessie-slim
# docker build -t vanessa/pull-request-action
# 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"
RUN apt-get update && apt-get install -y jq curl
RUN apt-get update && apt-get install -y jq curl wget
RUN wget https://github.com/github/hub/releases/download/v2.8.4/hub-linux-amd64-2.8.4.tgz && \
tar -xzvf hub-linux-amd64-2.8.4.tgz
ENV PATH ${PATH}:/hub-linux-amd64-2.8.4/bin
COPY pull-request.sh /pull-request.sh
RUN chmod u+x /pull-request.sh