Skip to content

Commit

Permalink
ci: allow for building images from Dockerfile directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Oct 29, 2023
1 parent 5dff45c commit 88b14a5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
file: alpine/Dockerfile
context: alpine
platforms: linux/amd64,linux/arm64
push: ${{ github.base_ref == null }}
cache-from: type=gha,scope=alpine
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/dev-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: dev-tools
file: dev-tools/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.base_ref == null }}
cache-from: type=gha,scope=dev-tools
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/mu-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: mu-plugins
file: mu-plugins/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.base_ref == null }}
tags: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
file: nginx/Dockerfile
context: nginx
platforms: linux/amd64,linux/arm64
cache-from: type=gha,scope=nginx
cache-to: type=gha,mode=max,scope=nginx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/skeleton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
file: skeleton/Dockerfile
context: skeleton
platforms: linux/amd64,linux/arm64
push: ${{ github.base_ref == null }}
tags: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
file: traefik/Dockerfile
context: traefik
platforms: linux/amd64,linux/arm64
push: ${{ github.base_ref == null }}
cache-from: type=gha,scope=traefik
Expand Down
2 changes: 1 addition & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM nginx:1.25.2-alpine@sha256:7272a6e0f728e95c8641d219676605f3b9e4759abbdb6b39

RUN apk add --no-cache shadow

COPY nginx/default.conf /etc/nginx/conf.d/default.conf
COPY default.conf /etc/nginx/conf.d/default.conf

0 comments on commit 88b14a5

Please sign in to comment.