mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-09 13:45:46 -05:00
CI: Use GitHub actions cache in docker builds
This commit is contained in:
parent
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
|
||||
|
4
.github/workflows/build-stable-container.yml
vendored
4
.github/workflows/build-stable-container.yml
vendored
@ -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
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user