ghaction-github-pages/Dockerfile

23 lines
707 B
Docker
Raw Normal View History

2019-09-19 04:09:13 +08:00
FROM alpine:latest
2019-09-01 04:23:41 +08:00
2019-09-02 23:51:26 +08:00
ARG VERSION
2019-09-01 04:23:41 +08:00
# https://help.github.com/en/articles/metadata-syntax-for-github-actions#about-yaml-syntax-for-github-actions
2019-09-02 23:51:26 +08:00
LABEL version="$VERSION" \
2019-09-01 04:23:41 +08:00
repository="https://github.com/crazy-max/ghaction-github-pages" \
homepage="https://github.com/crazy-max/ghaction-github-pages" \
maintainer="CrazyMax" \
"com.github.actions.name"="GitHub Pages" \
2019-09-01 04:30:13 +08:00
"com.github.actions.description"="GitHub Action for deploying GitHub Pages" \
2019-09-02 23:51:26 +08:00
"com.github.actions.icon"="upload-cloud" \
2019-09-01 04:23:41 +08:00
"com.github.actions.color"="green"
2019-09-19 04:09:13 +08:00
RUN apk --update --no-cache add \
curl \
git \
2019-09-19 04:00:34 +08:00
&& rm -rf /var/cache/apk/* /tmp/*
2019-09-01 05:16:43 +08:00
COPY LICENSE README.md /
ADD entrypoint.sh /
2019-09-01 04:23:41 +08:00
ENTRYPOINT [ "/entrypoint.sh" ]