Update and rename docker-image.yml to apache-docker-image.yml

This commit is contained in:
Stefan Pejcic
2024-05-27 21:54:46 +02:00
committed by GitHub
parent 98a55d6f77
commit dbeb6b2e1e

View File

@@ -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: