mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-01-18 16:27:25 +01:00
fix cicd and add cicd on PR
This commit is contained in:
2
.github/workflows/Readme-template.md
vendored
2
.github/workflows/Readme-template.md
vendored
@@ -13,7 +13,7 @@
|
||||
<a href="https://github.com/PAPAMICA/docker-compose-collection#utilisation"><img src="https://img.shields.io/badge/How_to_use-%2341454A.svg?style=for-the-badge&logo=target&logoColor=white"> </a>
|
||||
<a href="https://github.com/PAPAMICA/docker-compose-collection#add-new-docker-compose-file"><img src="https://img.shields.io/badge/Add_new_service-%2341454A.svg?style=for-the-badge&logo=target&logoColor=white"> </a>
|
||||
<br />
|
||||
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/PAPAMICA/docker-compose-collection/CI?label=Files%20generating&logo=files&logoColor=white&style=for-the-badge">
|
||||
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/PAPAMICA/docker-compose-collection/master?label=Files%20generating&logo=files&logoColor=white&style=for-the-badge">
|
||||
<br />
|
||||
<a href="https://www.docker.com/"><img src="https://img.shields.io/badge/docker-%232496ED.svg?style=for-the-badge&logo=docker&logoColor=white"> </a>
|
||||
<a href="https://www.portainer.io/"><img src="https://img.shields.io/badge/portainer-%2313BEF9.svg?style=for-the-badge&logo=portainer&logoColor=white"> </a>
|
||||
|
||||
19
.github/workflows/check-yaml.yml
vendored
Normal file
19
.github/workflows/check-yaml.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
check-yaml:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install yamllint
|
||||
run: pip install yamllint
|
||||
- name: Lint YAML files
|
||||
run: yamllint --format github -d .github/workflows/conf_yaml ./composes-files/*
|
||||
@@ -1,4 +1,4 @@
|
||||
name: CI
|
||||
name: master
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
Reference in New Issue
Block a user