mirror of
https://github.com/earthly/actions-setup.git
synced 2024-12-27 14:51:02 +08:00
Update ALPINE
This commit is contained in:
parent
be3fe0c1f8
commit
fb155fc64c
@ -1,7 +1,7 @@
|
|||||||
VERSION 0.6
|
VERSION 0.6
|
||||||
|
|
||||||
npm-base:
|
npm-base:
|
||||||
FROM alpine:3.13.5
|
FROM alpine:3.19
|
||||||
RUN apk add --update nodejs npm
|
RUN apk add --update nodejs npm
|
||||||
COPY ./package.json ./
|
COPY ./package.json ./
|
||||||
COPY ./package-lock.json ./
|
COPY ./package-lock.json ./
|
||||||
@ -32,7 +32,7 @@ compile:
|
|||||||
SAVE ARTIFACT node_modules AS LOCAL node_modules
|
SAVE ARTIFACT node_modules AS LOCAL node_modules
|
||||||
|
|
||||||
test-compile-was-run:
|
test-compile-was-run:
|
||||||
FROM alpine:3.13.5
|
FROM alpine:3.19
|
||||||
COPY dist /from-git
|
COPY dist /from-git
|
||||||
COPY +compile/dist /from-compile
|
COPY +compile/dist /from-compile
|
||||||
RUN diff -r /from-git /from-compile >/dev/null || (echo "dist and +compile/dist are different, did you forget to run earthly +compile?" && exit 1)
|
RUN diff -r /from-git /from-compile >/dev/null || (echo "dist and +compile/dist are different, did you forget to run earthly +compile?" && exit 1)
|
||||||
@ -60,7 +60,7 @@ test-run:
|
|||||||
RUN grep 'Found tool in cache' output2
|
RUN grep 'Found tool in cache' output2
|
||||||
|
|
||||||
lint-newline:
|
lint-newline:
|
||||||
FROM alpine:3.15
|
FROM alpine:3.19
|
||||||
WORKDIR /everything
|
WORKDIR /everything
|
||||||
COPY . .
|
COPY . .
|
||||||
# test that line endings are unix-style
|
# test that line endings are unix-style
|
||||||
|
Loading…
x
Reference in New Issue
Block a user