Skip to content

Commit 1c3f39f

Browse files
authored
Infra/pipeline ci (#105)
* infra: crear pipeline de ci para automatizar la construccion de imagenes de contenedores * fix: corregir nombre de usuario en la actions * fix: renombrar extensiones de yml a yaml * fix: corregir nombre del servicio en el workflow
1 parent a08033e commit 1c3f39f

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.github/workflows/ci-pipeline.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Docker CI Pipeline
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths: &shared_paths
7+
# Rutas Incluidas
8+
- ".github/workflows/ci-pipeline.yaml"
9+
- "horsetrust/Dockerfile"
10+
- "docker-compose.yaml"
11+
- "horsetrust/**"
12+
13+
# Rutas Excluidas
14+
- "!**.md"
15+
- "!horsetrust/.env.example"
16+
17+
pull_request:
18+
branches: [main]
19+
paths: *shared_paths
20+
21+
workflow_dispatch:
22+
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
jobs:
28+
call-docker-build:
29+
permissions:
30+
contents: read
31+
packages: write
32+
33+
uses: phylip28/gha-workflows/.github/workflows/docker-ghcr.yaml@trunk
34+
with:
35+
services: '["horsetrust"]'
36+
secrets: inherit
File renamed without changes.

0 commit comments

Comments
 (0)