Skip to content

Commit 911fec6

Browse files
committed
testing forks
Signed-off-by: Niccolò Fei <[email protected]>
1 parent 67a7a75 commit 911fec6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Container Images from PostgreSQL sources
22

33
on:
4+
pull_request:
5+
push:
46
workflow_dispatch:
57
inputs:
68
pg_repo:
@@ -39,6 +41,13 @@ jobs:
3941
steps:
4042
- name: Checkout Code
4143
uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 0
46+
47+
- name: Git
48+
run: |
49+
image_tag=$( (git symbolic-ref -q --short HEAD || git describe --tags --exact-match) | tr / -)
50+
echo $image_tag
4251
4352
- name: Set env variables from defaults.json
4453
run: |

0 commit comments

Comments
 (0)