mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2026-02-17 14:30:36 +00:00
ci: Update Docker client version for zim (#3199)
This commit is contained in:
59
.github/workflows/build-zimfile.yml
vendored
59
.github/workflows/build-zimfile.yml
vendored
@@ -136,10 +136,10 @@ jobs:
|
|||||||
echo "ZIMFILE_NAME=privacyguides.org_en_all_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
echo "ZIMFILE_NAME=privacyguides.org_en_all_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Create ZIM File
|
- name: Create ZIM File
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimwriterfs \
|
zimwriterfs \
|
||||||
-w index.html \
|
-w index.html \
|
||||||
@@ -161,11 +161,11 @@ jobs:
|
|||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
- name: Run zimcheck
|
- name: Run zimcheck
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
||||||
|
|
||||||
@@ -265,11 +265,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "ZIMFILE_NAME=privacyguides.org_en_kb_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
echo "ZIMFILE_NAME=privacyguides.org_en_kb_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
|
- name: List Files (for debugging)
|
||||||
|
run: |
|
||||||
|
ls -la site/
|
||||||
|
|
||||||
- name: Create ZIM File
|
- name: Create ZIM File
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimwriterfs \
|
zimwriterfs \
|
||||||
-w index.html \
|
-w index.html \
|
||||||
@@ -291,11 +295,11 @@ jobs:
|
|||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
- name: Run zimcheck
|
- name: Run zimcheck
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
||||||
|
|
||||||
@@ -372,10 +376,10 @@ jobs:
|
|||||||
echo "ZIMFILE_NAME=privacyguides.org_en_articles_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
echo "ZIMFILE_NAME=privacyguides.org_en_articles_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Create ZIM File
|
- name: Create ZIM File
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimwriterfs \
|
zimwriterfs \
|
||||||
-w index.html \
|
-w index.html \
|
||||||
@@ -397,11 +401,11 @@ jobs:
|
|||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
- name: Run zimcheck
|
- name: Run zimcheck
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
||||||
|
|
||||||
@@ -551,10 +555,9 @@ jobs:
|
|||||||
pattern: site-zimready-*
|
pattern: site-zimready-*
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
- name: List Files (for debugging)
|
- name: Extract Sites
|
||||||
run: |
|
run: |
|
||||||
for file in *.tar.gz; do tar -zxf "$file"; done
|
for file in *.tar.gz; do tar -zxf "$file"; done
|
||||||
ls -la site/
|
|
||||||
|
|
||||||
- name: Remove Duplicate Files
|
- name: Remove Duplicate Files
|
||||||
run: |
|
run: |
|
||||||
@@ -567,11 +570,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "ZIMFILE_NAME=privacyguides.org_mul_all_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
echo "ZIMFILE_NAME=privacyguides.org_mul_all_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
|
- name: List Files (for debugging)
|
||||||
|
run: |
|
||||||
|
ls -la site/
|
||||||
|
|
||||||
- name: Create ZIM File
|
- name: Create ZIM File
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimwriterfs \
|
zimwriterfs \
|
||||||
-w index.html \
|
-w index.html \
|
||||||
@@ -593,10 +600,10 @@ jobs:
|
|||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
- name: Run zimcheck
|
- name: Run zimcheck
|
||||||
uses: addnab/docker-run-action@v3
|
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/openzim/zim-tools:3.1.3
|
image: ghcr.io/openzim/zim-tools:3.6.0
|
||||||
options: -v ${{ github.workspace }}:/data
|
volumes: ${{ github.workspace }}:/data
|
||||||
run: |
|
run: |
|
||||||
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
zimcheck /data/${{ env.ZIMFILE_NAME }}
|
||||||
|
|||||||
Reference in New Issue
Block a user