Fix matrix

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
This commit is contained in:
maksim.nabokikh 2025-03-03 15:07:44 +01:00
parent 010c4d4e7a
commit 0e87169634

View File

@ -17,10 +17,9 @@ jobs:
fail-fast: false
matrix:
include:
- dockerfile: ./Dockerfile.ovpn-admin
image: ovpn-admin
- dockerfile: ./Dockerfile.openvpn
image: openvpn
- name: ovpn-admin
- name: openvpn
steps:
- name: Checkout code
uses: actions/checkout@v2
@ -50,7 +49,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5.6.1
with:
images: ghcr.io/${{ github.repository }}/${{ matrix.image }}
images: ghcr.io/${{ github.repository }}/${{ matrix.name }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
@ -74,4 +73,4 @@ jobs:
build-args: |
TAG=${{ github.ref_name }}
platforms: linux/amd64,linux/arm64,linux/arm
file: ${{ matrix.dockerfile }}
file: ./Dockerfile.${{ matrix.name }}