Update nginx-mariadb-docker-image.yml

This commit is contained in:
Stefan Pejcic 2024-11-22 13:47:16 +01:00 committed by GitHub
parent d9e253ead3
commit 13c532edbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,10 +15,6 @@ jobs:
env:
DOCKER_BUILDKIT: 1
strategy:
matrix:
platform: [linux/amd64, linux/arm64] # Build for both x86_64 and ARM
steps:
- name: Checkout repository
uses: actions/checkout@v2
@ -32,10 +28,9 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Nginx MariaDB image
- name: Build and push Nginx image
uses: docker/build-push-action@v3
with:
context: ./docker/ubuntu_nginx_mariadb
push: true
tags: openpanel/nginx-mariadb:latest
platforms: ${{ matrix.platform }} # Specify the platform from the matrix