-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 844 Bytes
/
Copy pathci-test-matrix.yml
File metadata and controls
36 lines (31 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Docker Matrix CI
on:
workflow_dispatch:
jobs:
docker-build:
name: Build (${{ matrix.name }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: uv
dockerfile: docker/Dockerfile
image-tag: usuarios-api:uv
- name: pip
dockerfile: docker/Dockerfile-pip
image-tag: usuarios-api:pip
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Image
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
tags: ${{ matrix.image-tag }}
load: true
push: false
no-cache: true