fix docker directory name
This commit is contained in:
parent
4f1903bcb8
commit
d9bbf02527
3 changed files with 4 additions and 4 deletions
|
@ -2,6 +2,6 @@ FROM docker.io/library/nginx:1.23.1-alpine
|
||||||
|
|
||||||
COPY ./dist/ /usr/share/nginx/html/
|
COPY ./dist/ /usr/share/nginx/html/
|
||||||
|
|
||||||
COPY ./_docker/default.conf /etc/nginx/conf.d/
|
COPY ./.docker/default.conf /etc/nginx/conf.d/
|
||||||
|
|
||||||
HEALTHCHECK CMD wget -O- http://127.0.0.1/status.txt | grep -q 'OK'
|
HEALTHCHECK CMD wget -O- http://127.0.0.1/status.txt | grep -q 'OK'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
*
|
*
|
||||||
!dist
|
!dist
|
||||||
!_docker
|
!.docker
|
||||||
|
|
|
@ -43,7 +43,7 @@ package:
|
||||||
before_script:
|
before_script:
|
||||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- podman build --pull -f _docker/Dockerfile -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
|
- podman build --pull -f .docker/Dockerfile -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
|
||||||
- podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
|
- podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
|
||||||
except:
|
except:
|
||||||
- deploy
|
- deploy
|
||||||
|
@ -58,7 +58,7 @@ package-deploy:
|
||||||
before_script:
|
before_script:
|
||||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- podman build --pull -f _docker/Dockerfile -t "$CI_REGISTRY_IMAGE" .
|
- podman build --pull -f .docker/Dockerfile -t "$CI_REGISTRY_IMAGE" .
|
||||||
- podman push "$CI_REGISTRY_IMAGE"
|
- podman push "$CI_REGISTRY_IMAGE"
|
||||||
only:
|
only:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
Loading…
Add table
Reference in a new issue