mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-07-24 04:27:51 +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
|
uses: actions/checkout@v4
|
||||||
- name: Test Bash scripts
|
- name: Test Bash scripts
|
||||||
run: sudo apt-get -qq update && sudo apt-get install -y devscripts shellcheck && make test
|
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:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: test
|
needs: test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue