2023-05-18 15:48:04 +00:00
|
|
|
on:
|
2023-05-18 15:49:23 +00:00
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 4'
|
2023-05-18 15:48:04 +00:00
|
|
|
|
2023-05-18 15:49:23 +00:00
|
|
|
name: CI
|
2023-05-18 15:48:04 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-05-18 15:49:23 +00:00
|
|
|
docker:
|
|
|
|
name: Docker
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash --noprofile --norc -exo pipefail {0}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
docker_version:
|
|
|
|
- 18.09
|
|
|
|
- 19.03
|
|
|
|
- "20.10"
|
2023-05-18 15:59:08 +00:00
|
|
|
- "latest"
|
2023-05-18 15:49:23 +00:00
|
|
|
docker_channel:
|
|
|
|
- stable
|
|
|
|
- test
|
2023-05-18 15:59:08 +00:00
|
|
|
- nightly
|
2023-05-18 15:49:23 +00:00
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
# timeout-minutes: 20
|
2023-05-18 15:48:04 +00:00
|
|
|
steps:
|
2023-05-18 15:49:23 +00:00
|
|
|
- name: setup Docker
|
|
|
|
uses: ./
|
|
|
|
# uses: docker-practice/actions-setup-docker@master
|
|
|
|
with:
|
|
|
|
docker_version: ${{ matrix.docker_version }}
|
|
|
|
docker_channel: ${{ matrix.docker_channel }}
|
|
|
|
- name: Setup tmate session
|
|
|
|
uses: mxschmitt/action-tmate@master
|
|
|
|
if: ${{ failure() }}
|
|
|
|
timeout-minutes: 60
|
|
|
|
- name: Test
|
|
|
|
run: |
|
|
|
|
# set -x
|
|
|
|
docker version
|
|
|
|
cat /etc/docker/daemon.json || true
|
|
|
|
cat /Users/runner/.docker/daemon.json || true
|
|
|
|
docker buildx version || true
|
|
|
|
docker buildx ls || true
|