Remove CI container builds

This commit is contained in:
Emmanuel Engelhart
2023-02-09 20:23:37 +01:00
committed by Kelson
parent b16cedc6be
commit b977392446

View File

@ -5,30 +5,7 @@ on:
schedule: schedule:
- cron: '0 1 * * *' - cron: '0 1 * * *'
env:
DOCKER_VERSION: 32
jobs: jobs:
Docker:
strategy:
fail-fast: false
matrix:
variant: [bionic, f35, focal, alpine]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build docker image
shell: bash
run: |
TAGNAME=${{matrix.variant}}-${DOCKER_VERSION}
if [ ! $(curl -sflL https://hub.docker.com/v2/repositories/kiwix/kiwix-build_ci/tags/${TAGNAME}) ]
then
echo "${{secrets.docker_password}}" | docker login -u "${{secrets.docker_username}}" --password-stdin
FULLTAGNAME=kiwix/kiwix-build_ci:${TAGNAME}
docker build -t ${FULLTAGNAME} - < ${GITHUB_WORKSPACE}/.github/ci_images/${{matrix.variant}}_builder.dockerfile
docker push ${FULLTAGNAME}
fi
Linux: Linux:
strategy: strategy:
fail-fast: false fail-fast: false
@ -60,7 +37,6 @@ jobs:
HOME: /home/runner HOME: /home/runner
SSH_KEY: /tmp/id_rsa SSH_KEY: /tmp/id_rsa
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Docker
container: container:
image: "kiwix/kiwix-build_ci:${{matrix.image_variant}}-32" image: "kiwix/kiwix-build_ci:${{matrix.image_variant}}-32"
options: "--device /dev/fuse --privileged" options: "--device /dev/fuse --privileged"