ci: build docker image without gha cache + no platforms

pull/6775/head
NGPixel 2 years ago
parent 123b0e15d4
commit 56d7f4b935
No known key found for this signature in database
GPG Key ID: B755FB6870B30F63

@ -27,7 +27,7 @@ jobs:
jq --arg vs "$REL_VERSION_STRICT" -r '. + {dev:false, version:$vs}' pkg-temp.json > package.json jq --arg vs "$REL_VERSION_STRICT" -r '. + {dev:false, version:$vs}' pkg-temp.json > package.json
rm pkg-temp.json rm pkg-temp.json
cat package.json cat package.json
- name: Fetch Latest Locales - name: Fetch Latest Locales
uses: localazy/download@v1 uses: localazy/download@v1
with: with:
@ -39,10 +39,10 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
@ -54,9 +54,9 @@ jobs:
provenance: true provenance: true
sbom: true sbom: true
push: true push: true
cache-from: type=gha # cache-from: type=gha
cache-to: type=gha,mode=max # cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64 # platforms: linux/amd64,linux/arm64
tags: | tags: |
ghcr.io/requarks/wiki:${{ env.REL_VERSION }} ghcr.io/requarks/wiki:${{ env.REL_VERSION }}
@ -110,4 +110,4 @@ jobs:
with: with:
name: drop-win name: drop-win
path: wiki-js-windows.tar.gz path: wiki-js-windows.tar.gz

Loading…
Cancel
Save