mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update apache-mariadb-docker-image.yml
This commit is contained in:
parent
010e59fef4
commit
f646fd58e4
@ -1,15 +1,15 @@
|
|||||||
name: Build and Push Nginx MariaDB Docker Image
|
name: Build and Push Apache MariaDB Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'docker/ubuntu_nginx_mariadb/**'
|
- 'docker/ubuntu_apache_mariadb/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'docker/ubuntu_nginx_mariadb/**'
|
- 'docker/ubuntu_apache_mariadb/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-nginx:
|
build-and-push-apache:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -32,10 +32,10 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Nginx MariaDB image
|
- name: Build and push Apache MariaDB image
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./docker/ubuntu_nginx_mariadb
|
context: ./docker/ubuntu_apache_mariadb
|
||||||
push: true
|
push: true
|
||||||
tags: openpanel/nginx-mariadb:latest
|
tags: openpanel/apache-mariadb:latest
|
||||||
platforms: ${{ matrix.platform }} # Specify the platform from the matrix
|
platforms: ${{ matrix.platform }} # Specify the platform from the matrix
|
||||||
|
Loading…
Reference in New Issue
Block a user