|
|
|
@ -48,7 +48,9 @@ jobs:
|
|
|
|
|
id: get-docker-repository |
|
|
|
|
run: | |
|
|
|
|
DOCKER_REPOSITORY=nocodb |
|
|
|
|
REF_BRANCH=master |
|
|
|
|
if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == 'DEV' ]]; then |
|
|
|
|
REF_BRANCH=develop |
|
|
|
|
if [[ ${{ inputs.isDaily || 'N' }} == 'Y' ]]; then |
|
|
|
|
DOCKER_REPOSITORY=${DOCKER_REPOSITORY}-daily |
|
|
|
|
else |
|
|
|
@ -56,12 +58,15 @@ jobs:
|
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
echo "::set-output name=DOCKER_REPOSITORY::${DOCKER_REPOSITORY}" |
|
|
|
|
echo "::set-output name=REF_BRANCH::${REF_BRANCH}" |
|
|
|
|
echo ${DOCKER_REPOSITORY} |
|
|
|
|
# - name: Verify |
|
|
|
|
# run : | |
|
|
|
|
# echo ${{ steps.get-docker-repository.outputs.DOCKER_REPOSITORY }} |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
with: |
|
|
|
|
ref: ${{ steps.get-docker-repository.outputs.REF_BRANCH }} |
|
|
|
|
|
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }} |
|
|
|
|
uses: actions/setup-node@v2 |
|
|
|
|