Merge branch 'master' into djdefi-checkoutv3

This commit is contained in:
djdefi 2022-08-05 12:30:40 -07:00 коммит произвёл GitHub
Родитель 3e4b93aebb 261bd7c394
Коммит a8849d24c5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 43 добавлений и 2 удалений

16
.github/dependabot.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,16 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "docker" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

25
.github/workflows/docker-image.yml поставляемый Normal file
Просмотреть файл

@ -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

2
.github/workflows/main.yml поставляемый
Просмотреть файл

@ -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 \