mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-01-18 16:22:33 +01:00
add test to github action
This commit is contained in:
parent
057b0e823e
commit
7c8bb00622
1 changed files with 3 additions and 0 deletions
3
.github/workflows/image.yml
vendored
3
.github/workflows/image.yml
vendored
|
@ -1,6 +1,7 @@
|
||||||
name: build docker image
|
name: build docker image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
|
@ -13,6 +14,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the code
|
- name: Checkout the code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: Test
|
||||||
|
run: sudo apt-get -qq update && sudo apt-get install -y devscripts shellcheck && make test
|
||||||
- name: Install buildx
|
- name: Install buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: crazy-max/ghaction-docker-buildx@v1
|
uses: crazy-max/ghaction-docker-buildx@v1
|
||||||
|
|
Loading…
Reference in a new issue