File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build PostgreSQL image
2+
3+ on :
4+ push :
5+ branches : [main, jxom/uint256]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ packages : write
11+
12+ jobs :
13+ image :
14+ runs-on : ubuntu-24.04
15+ timeout-minutes : 30
16+ steps :
17+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+ with :
19+ submodules : true
20+ persist-credentials : false
21+
22+ - uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
23+
24+ - uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
25+
26+ - uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
27+ with :
28+ registry : ghcr.io
29+ username : ${{ github.actor }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
31+
32+ - uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
33+ with :
34+ context : .
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ build-args : PG_MAJOR=18
38+ tags : ghcr.io/tempoxyz/pg_clickhouse:18-${{ github.sha }}
39+ labels : |
40+ org.opencontainers.image.source=https://github.com/tempoxyz/pg_clickhouse
41+ org.opencontainers.image.revision=${{ github.sha }}
42+
43+ - name : Make package public
44+ env :
45+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ run : >-
47+ gh api --method PATCH
48+ /orgs/${{ github.repository_owner }}/packages/container/pg_clickhouse
49+ -f visibility=public
You can’t perform that action at this time.
0 commit comments