From dbeb6b2e1eb83ba857946135dddb8ac9fba1218f Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 27 May 2024 21:54:46 +0200 Subject: [PATCH] Update and rename docker-image.yml to apache-docker-image.yml --- ...cker-image.yml => apache-docker-image.yml} | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) rename .github/workflows/{docker-image.yml => apache-docker-image.yml} (68%) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/apache-docker-image.yml similarity index 68% rename from .github/workflows/docker-image.yml rename to .github/workflows/apache-docker-image.yml index 06faf55f..44f8f798 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/apache-docker-image.yml @@ -1,15 +1,15 @@ -name: Build and Push Docker Images +name: Build and Push Apache Docker Image on: push: - branches: - - main + paths: + - 'docker/apache/**' pull_request: - branches: - - main + paths: + - 'docker/apache/**' jobs: - build-and-push: + build-and-push-apache: runs-on: ubuntu-latest env: @@ -28,13 +28,6 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push Nginx image - uses: docker/build-push-action@v3 - with: - context: ./docker/nginx - push: true - tags: openpanel/nginx:latest - - name: Build and push Apache image uses: docker/build-push-action@v3 with: