1
0
Fork 0

fix(build): remove image jobs, extra makefile

This commit is contained in:
Sean Sube 2022-10-08 15:57:41 -05:00
parent ceda879c1d
commit 55a3250ebc
4 changed files with 0 additions and 77 deletions

View File

@ -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

View File

@ -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" ]

View File

@ -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" ]

1
run.mk
View File

@ -1 +0,0 @@
ci: all