fix: action to use new dir
All checks were successful
Build Docker / Build Docker (push) Successful in 21s

This commit is contained in:
Nathan Woodburn 2023-12-22 17:46:45 +11:00
parent 5388739b2b
commit c162ea8d21
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
3 changed files with 7 additions and 4 deletions

View File

@ -29,6 +29,9 @@ jobs:
else
tag_num="${tag}-${tag_num}"
fi
cd website
echo "version: ${GITHUB_RUN_NUMBER}" > content/version.txt
docker build -t hns_doh:$tag_num .
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag_num

View File

@ -1,4 +0,0 @@
FROM nginx
RUN rm /etc/nginx/conf.d/default.conf
COPY website/nginx.conf /etc/nginx/conf.d/default.conf
COPY website/content /var/www/html

4
website/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM nginx
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY content /var/www/html