diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30f4dfb..d9d30f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/Dockerfile.alpine b/Dockerfile.alpine deleted file mode 100644 index a4eeba9..0000000 --- a/Dockerfile.alpine +++ /dev/null @@ -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" ] diff --git a/Dockerfile.stretch b/Dockerfile.stretch deleted file mode 100644 index 96f0617..0000000 --- a/Dockerfile.stretch +++ /dev/null @@ -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" ] diff --git a/run.mk b/run.mk deleted file mode 100644 index d103615..0000000 --- a/run.mk +++ /dev/null @@ -1 +0,0 @@ -ci: all \ No newline at end of file