Bump jinja2 from 3.1.4 to 3.1.5 #417
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: CrateDB Docker images test | |
on: [push] | |
jobs: | |
multi-arch-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [linux/amd64, linux/arm64] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Update CrateDB docker image version | |
run: | | |
python -m pip install --upgrade pip --quiet | |
pip install -r requirements.txt --quiet | |
VERSION=$(curl -s https://cratedb.com/versions.json | grep crate_testing | tr -d '" ' | cut -d ":" -f2) | |
./update.py --cratedb-version ${VERSION} > Dockerfile | |
- name: Build CrateDB docker image | |
run: | | |
docker buildx build \ | |
--platform ${{ matrix.arch }} \ | |
--load \ | |
--file ./Dockerfile . \ | |
--tag crate/crate:ci_test | |
- name: Run Docker official images tests | |
run: | | |
git clone https://github.com/docker-library/official-images.git ~/official-images | |
~/official-images/test/run.sh crate/crate:ci_test |