test cicd
This commit is contained in:
parent
a13de9e73c
commit
2316be13eb
@ -2,10 +2,6 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
|
||||||
DOCKER_HOST: tcp://docker:2375/
|
|
||||||
DOCKER_DRIVER: overlay2
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: maven:3.8.4-openjdk-17
|
image: maven:3.8.4-openjdk-17
|
||||||
stage: build
|
stage: build
|
||||||
@ -35,7 +31,8 @@ docker-build:
|
|||||||
script:
|
script:
|
||||||
- cd gitlab-app
|
- cd gitlab-app
|
||||||
- docker buildx create --use
|
- docker buildx create --use
|
||||||
- docker buildx build --push --no-cache --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -f Dockerfile-linux -t "upagge/test:latest" .
|
- docker buildx build --platform linux/amd64 -f Dockerfile-linux -t "upagge/test:latest" .
|
||||||
|
- docker buildx build --platform linux/arm/v7,linux/arm64/v8, -f Docker-mav -t "upagge/test:latest" .
|
||||||
# - docker push "$CI_REGISTRY_IMAGE:latest"
|
# - docker push "$CI_REGISTRY_IMAGE:latest"
|
||||||
# - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"
|
# - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
FROM upagge/openjdk-mac-slim:17.0.2
|
FROM upagge/openjdk-mac-slim:17.0.2
|
||||||
FROM upagge/openjdk-mac-slim:17.0.2
|
|
||||||
MAINTAINER uPagge <me@upagge.ru>
|
MAINTAINER uPagge <me@upagge.ru>
|
||||||
RUN mkdir -p /bot && adduser gitlabbot --disabled-password && chown -R gitlabbot:gitlabbot /bot
|
RUN mkdir -p /bot && adduser gitlabbot --disabled-password && chown -R gitlabbot:gitlabbot /bot
|
||||||
WORKDIR /bot
|
WORKDIR /bot
|
||||||
|
Loading…
Reference in New Issue
Block a user