Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/actions/create-pr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine/git:latest
# Install GitHub CLI
RUN mkdir /ghcli && \
cd /ghcli && \
wget http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/github-cli-1.3.1-r0.apk && \
apk update && \
apk add --allow-untrusted github-cli-1.3.1-r0.apk
RUN apk update && \
apk add --no-cache libc6-compat
RUN mkdir ghcli && cd ghcli && \
wget https://github.com/cli/cli/releases/download/v1.5.0/gh_1.5.0_linux_386.tar.gz -O ghcli.tar.gz --no-check-certificate && \
tar --strip-components=1 -xf ghcli.tar.gz -C /usr/local

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /home/entrypoint.sh
Expand Down
11 changes: 6 additions & 5 deletions .github/actions/push-files/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#TODO change to alpine
FROM ubuntu:18.04
FROM alpine/git:latest

# Install GitHub CLI
RUN apt-get update && \
apt-get install -y --no-install-recommends git wget
RUN wget https://github.com/cli/cli/releases/download/v1.0.0/gh_1.0.0_linux_386.tar.gz -O ghcli.tar.gz --no-check-certificate && \
tar --strip-components=1 -xf ghcli.tar.gz
RUN apk update && \
apk add --no-cache libc6-compat
RUN mkdir ghcli && cd ghcli && \
wget https://github.com/cli/cli/releases/download/v1.5.0/gh_1.5.0_linux_386.tar.gz -O ghcli.tar.gz --no-check-certificate && \
tar --strip-components=1 -xf ghcli.tar.gz -C /usr/local

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /home/entrypoint.sh
Expand Down