fix(build): remove image jobs, extra makefile
This commit is contained in:
parent
ceda879c1d
commit
55a3250ebc
|
@ -5,7 +5,6 @@ include:
|
|||
stages:
|
||||
- status-pre
|
||||
- build
|
||||
- image
|
||||
- publish
|
||||
- status-post
|
||||
|
||||
|
@ -33,49 +32,6 @@ build-node:
|
|||
- out/cache
|
||||
- out/tmp
|
||||
|
||||
build-image-alpine-branch:
|
||||
extends:
|
||||
- .build-docker
|
||||
stage: image
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- ./scripts/docker-build.sh --push --default
|
||||
variables:
|
||||
IMAGE_ARCH: alpine
|
||||
|
||||
build-image-alpine-tag:
|
||||
extends:
|
||||
- .build-docker
|
||||
stage: image
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- ./scripts/docker-build.sh --push --default
|
||||
variables:
|
||||
IMAGE_ARCH: alpine
|
||||
|
||||
build-image-stretch-branch:
|
||||
stage: image
|
||||
extends: [.build-docker]
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- ./scripts/docker-build.sh --push
|
||||
variables:
|
||||
IMAGE_ARCH: stretch
|
||||
|
||||
build-image-stretch-tag:
|
||||
stage: image
|
||||
extends:
|
||||
- .build-docker
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- ./scripts/docker-build.sh --push
|
||||
variables:
|
||||
IMAGE_ARCH: stretch
|
||||
|
||||
# publish jobs
|
||||
publish-npm:
|
||||
stage: publish
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
FROM node:17-alpine
|
||||
|
||||
COPY package.json /app/package.json
|
||||
COPY yarn.lock /app/yarn.lock
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN yarn install --production
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN yarn global add file:$(pwd)
|
||||
ENV PATH="${PATH}:$(yarn global bin)"
|
||||
|
||||
ENTRYPOINT [ "node", "/app/out/index.js" ]
|
||||
CMD [ "--help" ]
|
|
@ -1,16 +0,0 @@
|
|||
FROM node:17-stretch
|
||||
|
||||
COPY package.json /app/package.json
|
||||
COPY yarn.lock /app/yarn.lock
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN yarn install --production
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN yarn global add file:$(pwd)
|
||||
ENV PATH="${PATH}:$(yarn global bin)"
|
||||
|
||||
ENTRYPOINT [ "node", "/app/out/index.js" ]
|
||||
CMD [ "--help" ]
|
Loading…
Reference in New Issue