File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 11name : Container Images from PostgreSQL sources
22
33on :
4+ pull_request :
5+ push :
46 workflow_dispatch :
57 inputs :
68 pg_repo :
@@ -28,6 +30,33 @@ defaults:
2830 shell : ' bash -Eeuo pipefail -x {0}'
2931
3032jobs :
33+ test-forks :
34+ - name : Checkout Code
35+ uses : actions/checkout@v4
36+ with :
37+ fetch-depth : 0
38+
39+ - name : Git
40+ run : |
41+ image_tag=$( (git symbolic-ref -q --short HEAD || git describe --tags --exact-match) | tr / -)
42+ echo $image_tag
43+
44+ test-slash :
45+ - name : Resolve Git reference
46+ uses : xt0rted/pull-request-comment-branch@v3
47+ id : refs
48+
49+ - name : Checkout Code
50+ uses : actions/checkout@v4
51+ with :
52+ ref : ${{ steps.refs.outputs.head_sha }}
53+ fetch-depth : 0
54+
55+ - name : Git
56+ run : |
57+ image_tag=$( (git symbolic-ref -q --short HEAD || git describe --tags --exact-match) | tr / -)
58+ echo $image_tag
59+
3160 build-pg :
3261 name : Build generic PostgreSQL image from sources
3362 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments