mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Remove CI container builds
This commit is contained in:
committed by
Kelson
parent
b16cedc6be
commit
b977392446
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -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"
|
||||||
|
Reference in New Issue
Block a user