kopia lustrzana https://github.com/iv-org/invidious
CI: Use GitHub actions cache in docker builds
rodzic
81ca831439
commit
343e3fb259
|
@ -60,6 +60,8 @@ jobs:
|
|||
tags: ${{ steps.meta.outputs.tags }}
|
||||
build-args: |
|
||||
"release=1"
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-arm64
|
||||
|
@ -85,3 +87,5 @@ jobs:
|
|||
tags: ${{ steps.meta-arm64.outputs.tags }}
|
||||
build-args: |
|
||||
"release=1"
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
|
@ -53,6 +53,8 @@ jobs:
|
|||
tags: ${{ steps.meta.outputs.tags }}
|
||||
build-args: |
|
||||
"release=1"
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-arm64
|
||||
|
@ -79,3 +81,5 @@ jobs:
|
|||
tags: ${{ steps.meta-arm64.outputs.tags }}
|
||||
build-args: |
|
||||
"release=1"
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
|
@ -119,6 +119,8 @@ jobs:
|
|||
file: docker/Dockerfile.arm64
|
||||
platforms: linux/arm64/v8
|
||||
build-args: release=0
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Test Docker
|
||||
run: while curl -Isf http://localhost:3000; do sleep 1; done
|
||||
|
|
Ładowanie…
Reference in New Issue