From 236bab3a08a394eaa886cf4a3b5ee8de70e1e3ec Mon Sep 17 00:00:00 2001 From: Jon Larsen Date: Thu, 22 Aug 2024 11:12:35 +0200 Subject: [PATCH 1/2] Replace nginx image --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 28fb407..1db5c1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,3 @@ -FROM arkivverket.azurecr.io/nginx:1.23.3 -COPY --chown=nonroot . /usr/share/nginx/html/ +FROM nginx:1.27.1 +COPY . /usr/share/nginx/html/ +RUN sed -i '/default_type application\/octet-stream;/d' /etc/nginx/nginx.conf From 273d0e2e0ad8eb45f7734e7e76b9d7b1e53c4b8e Mon Sep 17 00:00:00 2001 From: Jon Larsen Date: Thu, 22 Aug 2024 11:15:29 +0200 Subject: [PATCH 2/2] fix workflow deprication --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 3edb1e5..a1c409a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Get current date id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT build-and-publish-image: runs-on: ubuntu-latest