-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
4 changed files
with
30 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
FROM debian:buster-slim | ||
FROM alpine/git:latest | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y curl gnupg2 jq && \ | ||
rm -rf /var/lib/apt/lists/* | ||
RUN apk add --no-cache bash curl jq | ||
|
||
ENV HUB_VERSION=2.12.8 | ||
RUN mkdir /tmp/hub && \ | ||
(curl -SL https://github.com/github/hub/releases/download/v${HUB_VERSION}/hub-linux-amd64-${HUB_VERSION}.tgz | tar --strip 1 -zxC /tmp/hub) && \ | ||
prefix=/usr /tmp/hub/install && \ | ||
rm -rf /tmp/hub | ||
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing hub | ||
|
||
ENV TENPURETO_VERSION=0.4.0 | ||
RUN echo "deb https://dl.bintray.com/tenpureto/deb-snapshots buster main" >> /etc/apt/sources.list && \ | ||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 && \ | ||
apt-get update && \ | ||
apt-get install -y tenpureto=${TENPURETO_VERSION}-buster && \ | ||
rm -rf /var/lib/apt/lists/* | ||
ENV TENPURETO_VERSION=0.5.0 | ||
RUN curl -sL https://github.com/tenpureto/tenpureto/releases/download/v${TENPURETO_VERSION}/tenpureto-${TENPURETO_VERSION}-x86_64-linux -o /usr/bin/tenpureto && \ | ||
chmod +x /usr/bin/tenpureto | ||
|
||
ENV LANG=C.UTF-8 | ||
ENV LC_ALL=C.UTF-8 | ||
|
@@ -27,19 +18,8 @@ ENV [email protected] | |
ENV GIT_COMMITTER_NAME=Tenpureto | ||
ENV [email protected] | ||
|
||
LABEL "com.github.actions.name"="Tenpureto" | ||
LABEL "com.github.actions.description"="Tenpureto templates automation" | ||
LABEL "com.github.actions.icon"="git-merge" | ||
LABEL "com.github.actions.color"="blue" | ||
|
||
LABEL "repository"="https://github.com/tenpureto/tenpureto-github-action" | ||
LABEL "homepage"="http://tenpureto.org" | ||
LABEL "maintainer"="Roman Timushev <[email protected]>" | ||
|
||
ENV PULL_REQUEST_LABEL="" | ||
ENV PULL_REQUEST_LABEL "" | ||
|
||
ADD *.sh /usr/local/bin/ | ||
|
||
ENV GIT_ASKPASS="/usr/local/bin/askpass.sh" | ||
|
||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Tenpureto | ||
description: Propagate template changes to child branches | ||
inputs: | ||
pull-request-label: | ||
description: Labels to assign to the created pull requests | ||
required: false | ||
runs: | ||
using: "docker" | ||
image: "Dockerfile" | ||
env: | ||
PULL_REQUEST_LABEL: ${{ inputs.pull-request-label }} | ||
branding: | ||
icon: git-merge | ||
color: blue |
This file was deleted.
Oops, something went wrong.
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