Switch to GHA cache.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-12-13 08:25:09 -06:00
parent 2f6364d466
commit 28c74789ee
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109
2 changed files with 4 additions and 5 deletions

View File

@ -123,7 +123,7 @@ jobs:
context: .
load: true
tags: ghcr.io/azuracast/web:latest
cache-from: type=registry,ref=ghcr.io/azuracast/web:buildcache
cache-from: type=gha
- name: Set up functional test environment.
run: |
@ -183,8 +183,8 @@ jobs:
with:
context: .
push: true
platforms : linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/azuracast/web:buildcache
cache-to: type=registry,ref=ghcr.io/azuracast/web:buildcache,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@ -40,7 +40,6 @@ RUN composer install \
COPY --chown=azuracast:azuracast . .
RUN composer dump-autoload --optimize --classmap-authoritative \
&& touch /var/azuracast/www/vendor/.gitkeep \
&& touch /var/azuracast/.docker
VOLUME ["/var/azuracast/www_tmp", "/var/azuracast/uploads", "/var/azuracast/backups", "/var/azuracast/sftpgo/persist"]