Skip to content

Commit 5a1ae80

Browse files
authored
Merge branch 'master' into djdefi-docker-bullseye
2 parents 059eb59 + 7d8937d commit 5a1ae80

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
os: ['ubuntu-20.04', 'ubuntu-18.04', 'macos-latest']
9+
os: ['ubuntu-22.04', 'ubuntu-20.04', 'ubuntu-18.04', 'macos-latest']
1010
fail-fast: false
1111
runs-on: ${{ matrix.os }}
1212
steps:

0 commit comments

Comments
 (0)