Skip to content

Upgrade to python 3.10 #130

Upgrade to python 3.10

Upgrade to python 3.10 #130

---
name: Statistician docker check
on:
pull_request:
paths:
- '.github/workflows/statistician-dive.yml'
- 'docker/**'
- '!docker/readme.md'
push:
paths:
- '.github/workflows/statistician-dive.yml'
- 'docker/**'
- '!docker/readme.md'
env:
ORG: odc
IMAGE: statistician
jobs:
dive:
runs-on: ubuntu-latest
name: Analyze image efficiency
steps:
- name: Checkout
uses: actions/checkout@v3
- name: lint
uses: luke142367/[email protected]
with:
target: docker/Dockerfile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build image
run: |
docker build -t ${ORG}/${IMAGE}:_build ./docker/
- name: Dive
uses: yuichielectric/[email protected]
with:
image: ${{ env.ORG }}/${{ env.IMAGE}}:_build
config-file: ${{ github.workspace }}/docker/dive-ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Docker image size check
uses: wemake-services/docker-image-size-limit@master
with:
image: ${{ env.ORG }}/${{ env.IMAGE}}:_build
size: "3 GiB"