Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: allow for building images from Dockerfile directory #564

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3-alpine@sha256:db353d0f0c479c91bd15e01fc68ed0f33d9c4c52f3415e63

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