chore: use refname instead of base ref

This commit is contained in:
Mauricio Siu
2024-05-01 21:28:02 -06:00
parent cc61c9b788
commit 3f9e1381b6

View File

@@ -77,5 +77,5 @@ jobs:
run: |
chmod +x ./docker/build.sh
chmod +x ./docker/push.sh
./docker/build.sh ${{ github.base_ref == 'canary' && 'canary' || '' }}
./docker/push.sh ${{ github.base_ref == 'canary' && 'canary' || '' }}
./docker/build.sh ${{ github.ref_name == 'canary' && 'canary' || '' }}
./docker/push.sh ${{ github.ref_name == 'canary' && 'canary' || '' }}