Skip to content

Commit c5e2360

Browse files
committed
${{ github.event.ref }}
1 parent d8b4a08 commit c5e2360

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/buildimage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
CORE_REPO: us-docker.pkg.dev/steampipe/steampipe
1212
ORG: turbot
1313
CONFIG_SCHEMA_VERSION: "2020-11-18"
14-
VERSION: ${{ github.event.inputs.version }}
14+
VERSION: ${{ github.event.ref }}
1515

1616
jobs:
1717
# build-osx:
@@ -278,7 +278,7 @@ jobs:
278278
PRIVATE_KEY: ${{ secrets.AWS_PRIVATE_KEY }}
279279
run: |
280280
# echo $VERSION
281-
echo ${{ github.event.inputs.version }}
281+
echo ${{ github.event.ref }}
282282
283283
# get public IP of the linux machine
284284
ip=$(dig +short myip.opendns.com @resolver1.opendns.com)
@@ -312,7 +312,7 @@ jobs:
312312
echo "$PRIVATE_KEY" > private_key && chmod 600 private_key
313313
314314
# ssh into the instance and run the script to build the binary
315-
ssh -o StrictHostKeyChecking=accept-new -i private_key ubuntu@$public_ip 'bash -s' < script_to_build.sh ${{ github.event.inputs.version }}
315+
ssh -o StrictHostKeyChecking=accept-new -i private_key ubuntu@$public_ip 'bash -s' < script_to_build.sh ${{ github.event.ref }}
316316
317317
# use scp to fetch the built binary out of the instance
318318
scp -i private_key ubuntu@$public_ip:/home/ubuntu/steampipe-postgres-fdw/build-Linux/steampipe_postgres_fdw.so .

0 commit comments

Comments
 (0)