Merge branch 'master' into djdefi-dependabot
This commit is contained in:
Коммит
2c6eee1c0c
|
@ -0,0 +1,25 @@
|
|||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build-docker:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Debian Docker image
|
||||
run: docker build . --file Dockerfile --tag backup-utils-debian:${GITHUB_RUN_ID}
|
||||
- name: Build the Alpine Docker image
|
||||
run: docker build . --file Dockerfile.alpine --tag backup-utils-alpine:${GITHUB_RUN_ID}
|
||||
- name: Run tests in Debian Docker image
|
||||
run: docker run backup-utils-debian:${GITHUB_RUN_ID} ghe-backup --version
|
||||
- name: Run tests in Alpine Docker image
|
||||
run: docker run backup-utils-alpine:${GITHUB_RUN_ID} ghe-backup --version
|
||||
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: ['ubuntu-20.04', 'ubuntu-18.04', 'macos-latest']
|
||||
os: ['ubuntu-22.04', 'ubuntu-20.04', 'ubuntu-18.04', 'macos-latest']
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM debian:stretch-slim
|
||||
FROM debian:buster-slim
|
||||
|
||||
RUN apt-get -q -y update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
|
|
Загрузка…
Ссылка в новой задаче