@@ -55,15 +55,15 @@ jobs:
55
55
password : ${{ secrets.GITHUB_TOKEN }}
56
56
- uses : docker/build-push-action@v5
57
57
with :
58
- # caching bug?
59
- push : true
58
+ push : false
59
+ load : true
60
60
build-args : |
61
61
${{ steps.args.outputs.result }}
62
62
target : extensions
63
- tags : ghcr.io/ soedirgo/postgres:extensions
63
+ tags : soedirgo/postgres:extensions
64
64
platforms : linux/amd64
65
- cache-from : type=gha
66
- cache-to : type=gha ,mode=max
65
+ cache-from : type=registry,ref=ghcr.io/soedirgo/postgres:extensions-cache
66
+ cache-to : type=registry,ref=ghcr.io/soedirgo/postgres:extensions-cache ,mode=max
67
67
# - name: Extract built packages
68
68
# run: |
69
69
# mkdir -p /tmp/extensions ansible/files/extensions
@@ -77,14 +77,14 @@ jobs:
77
77
- name : Build Postgres deb
78
78
uses : docker/build-push-action@v5
79
79
with :
80
- # caching bug?
81
- push : true
80
+ push : false
81
+ load : true
82
82
file : docker/Dockerfile
83
83
target : pg-deb
84
- tags : ghcr.io/ soedirgo/postgres:deb
84
+ tags : soedirgo/postgres:deb
85
85
platforms : linux/amd64
86
- cache-from : type=gha
87
- cache-to : type=gha ,mode=max
86
+ cache-from : type=registry,ref=ghcr.io/soedirgo/postgres:deb-cache
87
+ cache-to : type=registry,ref=ghcr.io/soedirgo/postgres:deb-cache ,mode=max
88
88
# - name: Extract Postgres deb
89
89
# run: |
90
90
# mkdir -p /tmp/build ansible/files/postgres
0 commit comments