feat(ci): configure image build caching
This commit is contained in:
parent
7f56a3db56
commit
264b30e8a2
6 changed files with 151 additions and 34 deletions
.github/workflows
4
.github/workflows/postgres.yml
vendored
4
.github/workflows/postgres.yml
vendored
|
@ -1,6 +1,8 @@
|
|||
name: Postgres image
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- postgres/**
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
|
@ -39,6 +41,8 @@ jobs:
|
|||
build-args: |
|
||||
POSTGRES_MAJOR=${{ matrix.postgres_major }}
|
||||
POSTGRES_MINOR=${{ fromJSON(env.MINOR_VERSIONS)[matrix.postgres_major] }}
|
||||
cache-from: type=registry,ref=code.icb4dc0.de/prskr/supabase-operator/postgres:buildcache
|
||||
cache-to: type=registry,ref=code.icb4dc0.de/prskr/supabase-operator/postgres:buildcache,mode=max
|
||||
|
||||
manifest:
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue