mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-06-28 07:36:40 +00:00
test docker image before building
This commit is contained in:
parent
927b053289
commit
f8b2f8f1ba
1 changed files with 6 additions and 0 deletions
6
.github/workflows/image.yml
vendored
6
.github/workflows/image.yml
vendored
|
@ -16,6 +16,12 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Test Bash scripts
|
||||
run: sudo apt-get -qq update && sudo apt-get install -y devscripts shellcheck && make test
|
||||
- name: Test image
|
||||
env:
|
||||
VOLUME_PATH: ./
|
||||
DATABASE_NAME: foo
|
||||
MARIADB_ROOT_PASSWORD: abcd
|
||||
run: docker compose up --build
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue