diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 0380f92253..75e890abc2 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -45,9 +45,10 @@ jobs: - name: Build and Push Staging Docker Image # Only run on push - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD + yarn build yarn build:docker:staging env: DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} diff --git a/hosting/scripts/linux/release-to-docker-hub.sh b/hosting/scripts/linux/release-to-docker-hub.sh index a011ee1f13..b1a79c964c 100755 --- a/hosting/scripts/linux/release-to-docker-hub.sh +++ b/hosting/scripts/linux/release-to-docker-hub.sh @@ -3,7 +3,7 @@ tag=$1 tag=${tag:-latest} -echo "Tagging images with SHA: $GITHUB_SHA and version: $BUDIBASE_VERSION" +echo "Tagging images with SHA: $GITHUB_SHA and tag: $tag" docker tag app-service budibase/apps:$tag docker tag worker-service budibase/worker:$tag