File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docker Image CI
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ jobs :
10+
11+ build-docker :
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v3
17+ - name : Build the Debian Docker image
18+ run : docker build . --file Dockerfile --tag backup-utils-debian:${GITHUB_RUN_ID}
19+ - name : Build the Alpine Docker image
20+ run : docker build . --file Dockerfile.alpine --tag backup-utils-alpine:${GITHUB_RUN_ID}
21+ - name : Run tests in Debian Docker image
22+ run : docker run backup-utils-debian:${GITHUB_RUN_ID} ghe-backup --version
23+ - name : Run tests in Alpine Docker image
24+ run : docker run backup-utils-alpine:${GITHUB_RUN_ID} ghe-backup --version
25+
You can’t perform that action at this time.
0 commit comments