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