mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update nginx-mariadb-docker-image.yml
This commit is contained in:
parent
ec3370fbca
commit
010e59fef4
@ -15,6 +15,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform: [linux/amd64, linux/arm64] # Build for both x86_64 and ARM
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -28,9 +32,10 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Nginx image
|
- name: Build and push Nginx MariaDB image
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./docker/ubuntu_nginx_mariadb
|
context: ./docker/ubuntu_nginx_mariadb
|
||||||
push: true
|
push: true
|
||||||
tags: openpanel/nginx-mariadb:latest
|
tags: openpanel/nginx-mariadb:latest
|
||||||
|
platforms: ${{ matrix.platform }} # Specify the platform from the matrix
|
||||||
|
Loading…
Reference in New Issue
Block a user