Skip to content

Update qemu-user-static to version 8.0.4 #337

Update qemu-user-static to version 8.0.4

Update qemu-user-static to version 8.0.4 #337

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC
workflow_dispatch: null
jobs:
build:
name: ${{ matrix.cfg.DOCKERIMAGE }}:${{ matrix.cfg.DOCKERTAG }} (${{ matrix.cfg.DISTRO_ARCH }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
cfg:
- DOCKERIMAGE: linux-anvil-cos7-x86_64
DOCKERTAG: latest
DISTRO_NAME: "centos"
DISTRO_VER: "7"
- DOCKERIMAGE: linux-anvil-ppc64le
DOCKERTAG: latest
DISTRO_NAME: "centos"
DISTRO_VER: "7"
- DOCKERIMAGE: linux-anvil-aarch64
DOCKERTAG: latest
DISTRO_NAME: "centos"
DISTRO_VER: "7"
env:
DOCKERIMAGE: ${{ matrix.cfg.DOCKERIMAGE }}
DOCKERFILE: ${{ matrix.cfg.DOCKERFILE }}
DOCKERTAG: ${{ matrix.cfg.DOCKERTAG }}
CUDA_VER: ${{ matrix.cfg.CUDA_VER }}
DISTRO_ARCH: ${{ matrix.cfg.DISTRO_ARCH }}
DISTRO_NAME: ${{ matrix.cfg.DISTRO_NAME }}
DISTRO_VER: ${{ matrix.cfg.DISTRO_VER }}
steps:
- uses: actions/checkout@v2
- name: Enable experimental features (needed for squash)
run: |
sudo cp docker_daemon_config.json /etc/docker/daemon.json
sudo service docker restart
- name: Docker info
run: |
docker info
- name: Configure qemu
run: |
./download-qemu-static.sh
- name: Build image
run: |
docker build \
--build-arg CUDA_VER \
--build-arg DISTRO_ARCH \
--build-arg DISTRO_NAME \
--build-arg DISTRO_VER \
-t condaforge/$DOCKERIMAGE:$DOCKERTAG \
-f ${DOCKERFILE:-${DOCKERIMAGE}}/Dockerfile \
--no-cache --squash .
- name: Run image
run: |
./.circleci/run_docker_build.sh
- name: Deploy
if: github.ref == 'refs/heads/main' && github.repository == 'conda-forge/docker-images'
env:
CFD_QUAY_PASSWORD: ${{ secrets.CFD_QUAY_PASSWORD }}
DH_PASSWORD: ${{ secrets.DH_PASSWORD }}
run: |
./scripts/deploy