File tree Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 1- name : Check for updates
1+ name : Weekly build
22
33on :
44 schedule :
88jobs :
99 build_and_push :
1010 name : Build and push images
11- needs : lint
1211 runs-on : ubuntu-latest
1312 steps :
1413 - name : Checkout repository
Original file line number Diff line number Diff line change 11# Use a clean tiny image to store artifacts in
2- FROM alpine:3.11
2+ FROM alpine:3.14
33
44# Labels for http://label-schema.org/rc1/#build-time-labels
55# And for https://github.com/opencontainers/image-spec/blob/master/annotations.md
@@ -46,17 +46,15 @@ LABEL \
4646COPY entrypoint.sh /
4747
4848# Install needed packages
49- # hadolint ignore=DL3017,DL3018
5049RUN set -eux \
51- && chmod +x /entrypoint.sh \
52- && apk update --no-cache \
53- && apk upgrade --no-cache \
54- && apk add --no-cache bash \
55- && apk add --no-cache git \
56- && rm -rf /var/cache/* \
57- && rm -rf /root/.cache/*
50+ chmod +x /entrypoint.sh ; \
51+ apk update --no-cache ; \
52+ apk add --no-cache \
53+ bash~=5.1.4 \
54+ git~=2.32.0 ; \
55+ rm -rf /var/cache/* ; \
56+ rm -rf /root/.cache/*
5857
5958# Finish up
6059WORKDIR /github/workspace
61- # hadolint ignore=DL3025
62- ENTRYPOINT /entrypoint.sh
60+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 22phony : help
33
44# Release tag for the action
5- VERSION := v0.2
5+ VERSION := v0.3
66
77# GitHub Actions bogus variables
88GITHUB_REF ?= refs/heads/null
You can’t perform that action at this time.
0 commit comments