Update documentation related to repository changes on 2023-11-30 #183
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image Build CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Ubuntu Docker image | |
run: docker build . --file Dockerfile --tag backup-utils:"${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 Ubuntu Docker image | |
run: | | |
docker run backup-utils:"${GITHUB_RUN_ID}" ghe-backup --version | |
docker run backup-utils:"${GITHUB_RUN_ID}" rsync --version | |
- name: Run tests in Alpine Docker image | |
run: | | |
docker run backup-utils-alpine:"${GITHUB_RUN_ID}" ghe-backup --version | |
docker run backup-utils-alpine:"${GITHUB_RUN_ID}" rsync --version |