Compare commits
No commits in common. "5b7fad82a94de997b5d491228998097315bf6229" and "0b1aa05579075f7b55a009c7bb30ad0ef3528bc6" have entirely different histories.
5b7fad82a9
...
0b1aa05579
@ -2,10 +2,10 @@
|
||||
name: Build and publish container images
|
||||
|
||||
on:
|
||||
# - workflow_dispatch
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- workflow_dispatch
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
@ -47,4 +47,4 @@ jobs:
|
||||
# linux/arm/v6
|
||||
build-args: |
|
||||
DOC_UTILS_VERSION=0.2
|
||||
NGINX_VERSION=1.25-alpine-slim
|
||||
NGINX_VERSION=1.25
|
||||
|
@ -38,4 +38,4 @@ jobs:
|
||||
# linux/arm/v6
|
||||
build-args: |
|
||||
DOC_UTILS_VERSION=0.2
|
||||
NGINX_VERSION=1.25-alpine-slim
|
||||
NGINX_VERSION=1.25
|
||||
|
@ -2,10 +2,10 @@
|
||||
name: Deploy latest to staging environment
|
||||
|
||||
on:
|
||||
- workflow_dispatch
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
# - workflow_dispatch
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
tag-image:
|
||||
|
@ -16,9 +16,10 @@ FROM nginx:${NGINX_VERSION} AS deploy_stage
|
||||
EXPOSE 80
|
||||
|
||||
# copy actual web content built above
|
||||
COPY --from=build_stage --chown=nginx:nginx /workspace/www/ /usr/share/nginx/html
|
||||
COPY --from=build_stage /workspace/www/ /usr/share/nginx/html
|
||||
RUN chmod -R +rX /usr/share/nginx/html
|
||||
|
||||
# nginx config files
|
||||
COPY --chown=nginx:nginx conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --chown=nginx:nginx conf/default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --chown=nginx:nginx conf/mime.types /etc/nginx/mime.types
|
||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY conf/default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY conf/mime.types /etc/nginx/mime.types
|
||||
|
Loading…
x
Reference in New Issue
Block a user