Skip to content

Commit 1dbd0db

Browse files
committed
WIP: Flattening out new image structure, following current naming standard.
And deleting defunct cloudbuild prod yaml
1 parent 200f537 commit 1dbd0db

File tree

7 files changed

+4
-116
lines changed

7 files changed

+4
-116
lines changed

.github/workflows/containerbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
skip_after_successful_duplicate: false
8181
github_token: ${{ github.token }}
82-
paths: '["docker/prod/nginx/*", ".github/workflows/containerbuild.yml"]'
82+
paths: '["docker/Dockerfile.nginx.prod", "nginx/*", ".github/workflows/containerbuild.yml"]'
8383

8484
build_nginx:
8585
name: nginx - test build of nginx Docker image
@@ -100,6 +100,6 @@ jobs:
100100
uses: docker/build-push-action@v6
101101
with:
102102
context: ./
103-
file: ./docker/prod/nginx/Dockerfile
103+
file: ./docker/Dockerfile.nginx.prod
104104
platforms: linux/amd64
105105
push: false

cloudbuild-production.yaml

Lines changed: 0 additions & 99 deletions
This file was deleted.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
platform: linux/amd64
3636
build:
3737
context: .
38-
dockerfile: docker/prod/nginx/Dockerfile
38+
dockerfile: docker/Dockerfile.nginx.prod
3939
ports:
4040
- "8081:8080"
4141
depends_on:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM nginx:1.25
22

33
# Build from inside the directory by overriding this.
4-
ARG SRC_DIR=k8s/images/nginx
4+
ARG SRC_DIR=docker/prod/nginx
55

66
RUN rm /etc/nginx/conf.d/* # if there's stuff here, nginx won't read sites-enabled
77
COPY ${SRC_DIR}/nginx.conf /etc/nginx/nginx.conf

docker/prod/app/Makefile

Lines changed: 0 additions & 4 deletions
This file was deleted.

docker/prod/nginx/Makefile

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)