Skip to content
Snippets Groups Projects
Commit 37acd91d authored by Marek Jaroš's avatar Marek Jaroš :metal:
Browse files

New version with minor fixes

Fixes:  
#5  
#6

See merge request !9
parents 6b59a634 55b76dbc
No related branches found
No related tags found
1 merge request!9Bug-fix release 20180422.a-2.1-3
Pipeline #171636 passed
...@@ -10,7 +10,7 @@ before_script: ...@@ -10,7 +10,7 @@ before_script:
build-stable: build-stable:
stage: build stage: build
script: script:
- /kaniko/executor --cache=true --cache-copy-layers --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --build-arg NAME=$CI_PROJECT_NAME --build-arg BUILD_DATE=`date -u +"%d-%m-%Y-T%H:%M:%S%Z"` --build-arg VCS_REF=$CI_COMMIT_SHORT_SHA --build-arg VCS_URL=$CI_PROJECT_URL --destination $CI_REGISTRY_IMAGE:stable --destination $CI_REGISTRY_IMAGE:20180422 --destination $CI_REGISTRY_IMAGE:20180422-2 - /kaniko/executor --cache=true --cache-copy-layers --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --build-arg NAME=$CI_PROJECT_NAME --build-arg BUILD_DATE=`date -u +"%d-%m-%Y-T%H:%M:%S%Z"` --build-arg VCS_REF=$CI_COMMIT_SHORT_SHA --build-arg VCS_URL=$CI_PROJECT_URL --destination $CI_REGISTRY_IMAGE:stable --destination $CI_REGISTRY_IMAGE:20180422 --destination $CI_REGISTRY_IMAGE:20180422-3
only: only:
- stable - stable
......
...@@ -6,7 +6,7 @@ RUN printf "Running on ${BUILDPLATFORM:-linux/amd64}, building for ${TARGETPLATF ...@@ -6,7 +6,7 @@ RUN printf "Running on ${BUILDPLATFORM:-linux/amd64}, building for ${TARGETPLATF
# Basic info # Basic info
ARG NAME ARG NAME
ARG BUILD_DATE ARG BUILD_DATE
ARG VERSION=20180422.a-2.1-2 ARG VERSION=20180422.a-2.1-3
ARG VCS_REF ARG VCS_REF
ARG VCS_URL ARG VCS_URL
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
DocumentRoot /var/www DocumentRoot /var/www
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_URI} !\.well-known/acme-challenge RewriteCond %{REQUEST_URI} !(\.well-known/acme-challenge|server-status)
RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [L] RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [L]
</VirtualHost> </VirtualHost>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment