File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-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,44 @@ 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 : Dump GitHub context
61+ env :
62+ GITHUB_CONTEXT : ${{ toJSON(github) }}
63+ run : echo "$GITHUB_CONTEXT"
64+
65+ - name : Git
66+ run : |
67+ image_tag=$( (git symbolic-ref -q --short HEAD || git describe --tags --exact-match) | tr / -)
68+ echo $image_tag
69+
3170 build-pg :
3271 name : Build generic PostgreSQL image from sources
3372 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments